Skip to content

Instantly share code, notes, and snippets.



Forked from rupl/gist:2172739
Last active Dec 18, 2015
What would you like to do?
email =
name = Aaron Stanush
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = red
st = status
cm = commit
br = branch
co = checkout
df = diff
dc = diff --cached
ds = diff --staged
dn = diff --numstat
dns = diff --staged --numstat
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lolp = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Crese$
ls = ls-files
rhh = reset --hard HEAD
# Show files ignored by git:
ign = clean -dXn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment