3 ms·
For your ~/.gitconfig: wtc = !git commit -m \"$(curl -s http://whatthecommit.com/index.txt)\"
by frakturfreund 13y ago
For your ~/.gitconfig:
wtc = !git commit -m \"$(curl -s http://whatthecommit.com/index.txt)\"
- alimoeeny 13y agowhat should happen? does it need to go in a specific "section" of the .gitconfig?
- frakturfreund 13y agoYes, i forgot, it has to go into the [alias] section of .gitconfig. It create a commit with a random message from whatthecommit.com; nothing you would push to your public repository; i use it in a script to backup some stuff in a git repo.