Skip to content

Instantly share code, notes, and snippets.

@gbougeard
Created February 27, 2017 09:10
Show Gist options
  • Save gbougeard/38da1b9784d596f0d8b267c3590bb2fc to your computer and use it in GitHub Desktop.
Save gbougeard/38da1b9784d596f0d8b267c3590bb2fc to your computer and use it in GitHub Desktop.
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lgn = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --name-only
st = status
ci = commit -v
co = checkout
br = branch
rh = reset --hard
ri = rebase -i
rba = rebase --abort
rbc = rebase --continue
who = shortlog -s --
filelog = log -u
fl = log -u
cp = cherry-pick
cl = clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment