Created
April 22, 2015 13:22
-
-
Save hagenburger/fe9e9959e006c53562d0 to your computer and use it in GitHub Desktop.
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
[alias] | |
ci = commit -pm | |
last = log -1 HEAD | |
st = status | |
nb = checkout -b | |
co = checkout | |
cog = "!cog() { git checkout `git branch|grep $1`; }; cog" | |
cp = cherry-pick | |
amend = commit --amend -p -CHEAD | |
rb = rebase | |
rbc = rebase --continue | |
p = pull --rebase | |
a = add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment