Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Git config aliases
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