Created
August 2, 2011 17:48
-
-
Save JoeyButler/1120763 to your computer and use it in GitHub Desktop.
useful 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] | |
s = show | |
b = branch | |
ba = branch -a | |
ci = commit | |
cp = cherry-pick | |
cia = commit -a --amend | |
cim = commit -am | |
co = checkout | |
cob = checkout -b | |
com = checkout master | |
d = diff | |
rb = rebase -i | |
prm = pull --rebase dev master | |
df = !git diff | mate | |
sd = !git show HEAD | mate | |
sdm = !git diff master HEAD | mate | |
dc = diff --cached | |
fp = format-patch | |
gr = log --graph | |
go = log --relative-date --graph --pretty=oneline --abbrev-commit | |
ga = log --pretty=format:'%h %an: %s' --graph --color | |
gd = log --pretty=format:'%h %an %ar: %s' --graph --color | |
st = status | |
ri = rebase -i | |
rc = rebase --continue | |
ra = rebase --abort | |
[color] | |
diff=auto | |
status=auto | |
branch=auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment