Created
August 22, 2008 09:25
-
-
Save coreyti/6775 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# my git aliases (incl. printing user.name) | |
[alias] | |
who = "!echo ; echo ; echo \"\\tworking as `git config user.name`...\" ; echo ; echo" | |
what = "!git who ; git diff" | |
when = "!git who ; git log" | |
st = "!git who ; git status" | |
ci = "!git who ; git commit" | |
co = "!git who ; git checkout" | |
get = "!git who ; git pull" | |
put = "!git who ; git push" | |
bless = "!sh -c 'git who ; git config branch.$0.remote origin ; git config branch.$0.merge refs/heads/$0'" | |
finish = "!sh -c 'URL=$0 ; MESSAGE=$1 ; git ci -am \"$MESSAGE\n(finishes: $URL)\"'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment