Skip to content

Instantly share code, notes, and snippets.

@jsturgis
Created April 11, 2014 19:59
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 jsturgis/10496907 to your computer and use it in GitHub Desktop.
Save jsturgis/10496907 to your computer and use it in GitHub Desktop.
git aliases
i = commit
cia = commit -a
cim = commit -m
ciam = commit -am
d = diff
dn = diff --no-ext-diff
dt = difftool
st = status
co = checkout
cp = cherry-pick
pr = pull --rebase
ps = push
rb = rebase
rbi = rebase -i
rba = rebase --abort
rbc = rebase --continue
rbi = rebase -i
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --all --graph --decorate --pretty=oneline --abbrev-commit
alias = config --get-regexp alias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment