Created
January 14, 2015 04:02
-
-
Save njames/6ffd80fa235117b868a7 to your computer and use it in GitHub Desktop.
some git aliases
This file contains hidden or 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
| .gitconfig aliases - works across all gits (gitbash / github posh / linux terminal) | |
| [alias] | |
| s = status | |
| a = add | |
| co = checkout | |
| c = commit -a -m | |
| b = branch | |
| mt = mergetool | |
| mg = merge | |
| p = push | |
| l = pull | |
| u = push | |
| d = pull | |
| # Git aliases for bash or posh | |
| alias g="git" | |
| alias gs="git status" | |
| alias gh="git --help" | |
| alias gp="git push" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment