Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created April 16, 2012 15:13
Show Gist options
  • Save groovecoder/2399382 to your computer and use it in GitHub Desktop.
Save groovecoder/2399382 to your computer and use it in GitHub Desktop.
git aliases
[alias]
st = status --ignore-submodules
stf = status
ci = commit
br = branch
co = checkout
rb = rebase
df = diff
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
up = pull --rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment