From b30ec82ae03e89a1cfdbb2341a65f0569c164de8 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Tue, 6 Aug 2013 18:03:39 +0200 Subject: [PATCH] adding git random alias, which helps in desperate cases --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index 5468bb5..35b5c97 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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