Skip to content

Instantly share code, notes, and snippets.

@allardhoeve
Last active December 19, 2015 13:48
Show Gist options
  • Save allardhoeve/5964157 to your computer and use it in GitHub Desktop.
Save allardhoeve/5964157 to your computer and use it in GitHub Desktop.
[user]
name = Allard Hoeve
email = [email protected]
[color]
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 = yellow
changed = green
untracked = cyan
[color]
ui = true
[color "diff"]
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
# Without author name
# lol = log --graph --decorate --pretty=oneline --abbrev-commit
# lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
# With author name
lol = log --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %an: %s %Cgreen(%cr)'
lola = log --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %an: %s %Cgreen(%cr)' --all
ls = ls-files
ign = ls-files -o -i --exclude-standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment