Created
June 2, 2015 07:24
-
-
Save msgodf/888d90bb90b94d87d5bf to your computer and use it in GitHub Desktop.
Git config aliases
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
[alias] | |
st = status | |
lg = log | |
ci = commit -v | |
co = checkout | |
br = branch | |
# View stash diffs - use n to go to the next stash and N to go to the previous stash | |
stp = "!IFS=$'\n';for stash in $(git stash list);do echo $stash;echo;git --no-pager diff --color=always $(echo $stash|cut -f1 -d:);done|less -pstash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment