Skip to content

Instantly share code, notes, and snippets.

@ColinHarrington
Created January 18, 2012 17:37
Show Gist options
  • Save ColinHarrington/1634361 to your computer and use it in GitHub Desktop.
Save ColinHarrington/1634361 to your computer and use it in GitHub Desktop.
git aliases
[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
@ColinHarrington
Copy link
Author

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