Skip to content

Instantly share code, notes, and snippets.

@msgodf
Created June 2, 2015 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msgodf/888d90bb90b94d87d5bf to your computer and use it in GitHub Desktop.
Save msgodf/888d90bb90b94d87d5bf to your computer and use it in GitHub Desktop.
Git config aliases
[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