Created
March 27, 2012 08:37
-
-
Save Seldaek/2214038 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] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
rb = rebase | |
fu = !git fetch upstream | |
fo = !git fetch origin | |
p = push | |
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative | |
fro = !git fetch origin && git rebase origin/master | |
fru = !git fetch upstream && git rebase upstream/master | |
stup = !git stash && git fro && git stash pop | |
rom = !git rebase origin/master | |
rum = !git rebase upstream/master | |
romi = !git rebase origin/master -i | |
rumi = !git rebase upstream/master -i | |
[color] | |
branch = auto | |
diff = auto | |
interactive = auto | |
status = auto | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@pminnieur: thanks
@greut: Yup that's relatively similar to my
lg
except for various colors it seems.