Created
January 18, 2012 17:37
-
-
Save ColinHarrington/1634361 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] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
lg = log -p | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
ls = ls-files |
Thanks Ted! serve makes a great alias!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
looks similar to mine, I added the color stuff below after watching the peepcode git advanced video last night. The
serve
alias is nice as it starts up a local server that others can pull from easily: