Created
February 2, 2011 16:01
-
-
Save mtodd/807904 to your computer and use it in GitHub Desktop.
Put this in ~/.gitconfig
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] | |
st = status | |
ci = commit | |
co = checkout | |
br = branch | |
b = branch | |
track = checkout -b | |
s = stash | |
d = diff | |
a = add . | |
tp = !rake && git push | |
ptp = !git pull && rake && git push | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment