adding git random alias, which helps in desperate cases

This commit is contained in:
Rodolphe Breard 2013-08-06 18:03:39 +02:00
parent dc7151b6a9
commit b30ec82ae0

View file

@ -18,6 +18,7 @@
last = log -1 HEAD
undo = reset --soft HEAD^
amend = commit --amend
random = !"git add -A; git commit -am \"$(echo $(curl -s http://whatthecommit.com/index.txt)\" (http://whatthecommit.com)\")\"; git pull --rebase; git push"
[color]
branch = auto