Skip to content

Instantly share code, notes, and snippets.

@moltak
Created October 23, 2015 15:11
Show Gist options
  • Save moltak/376237fa4086ce1ce826 to your computer and use it in GitHub Desktop.
Save moltak/376237fa4086ce1ce826 to your computer and use it in GitHub Desktop.
my git config
[alias]
graph = log --graph --date-order -C -M --pretty=format:\"%C(blue)%h%C(reset) (%ar) [%an] %C(yellow)%d%Creset %s\" --all --date=short
l = !git graph | less -FXRS
h = !git graph -1 | less -FXRS
ls = log --graph -C -M --pretty=format:"%C(yellow)%h%Cgreen%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --all --date=short
ll = log --pretty=format:"%C(yellow)%h%Cgreen%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --all --numstat
b = branch
c = commit
cc = commit -a
co = checkout
s = status
r = rebase
rr = rebase -i head^^
p = push o master
a = add .
ffs = flow feature start
fff = flow feature finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment