Skip to content

Instantly share code, notes, and snippets.

@cpojer
Created February 22, 2011 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpojer/839178 to your computer and use it in GitHub Desktop.
Save cpojer/839178 to your computer and use it in GitHub Desktop.
Useful aliases for git
[alias]
st = status
ci = commit
co = checkout
br = branch
cp = cherry-pick
sub = submodule update --init --recursive
rb = pull --rebase
@BenoitZugmeyer
Copy link

lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all

@cpojer
Copy link
Author

cpojer commented Feb 22, 2011

nice, but I always use gitx or another gui viewer :)

@kassens
Copy link

kassens commented Feb 22, 2011

ru: remote update

@trobrock
Copy link

grm='git status | grep deleted | awk '\''{print $3}'\'' | xargs git rm'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment