Skip to content

Instantly share code, notes, and snippets.

@shadowhand
Created December 15, 2011 20:33
Show Gist options
  • Save shadowhand/1482757 to your computer and use it in GitHub Desktop.
Save shadowhand/1482757 to your computer and use it in GitHub Desktop.
Complex Git Aliases
[alias]
co = checkout
st = status
ci = commit
rb = rebase
rank = shortlog -sn --no-merges
amend = commit --amend -C HEAD
vr = !sh -c \"git svn fetch && git svn rebase\"
vc = !sh -c \"git vr && git svn dcommit\"
ex = !sh -c \"git checkout-index -a -f --prefix=$1\"
ri = !sh -c \"git rebase -i HEAD~$1\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment