adding git random alias, which helps in desperate cases
This commit is contained in:
parent
dc7151b6a9
commit
b30ec82ae0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue