Skip to content

Instantly share code, notes, and snippets.

@eculver
Created November 9, 2011 19:41
Show Gist options
  • Save eculver/1352690 to your computer and use it in GitHub Desktop.
Save eculver/1352690 to your computer and use it in GitHub Desktop.
Sample .gitconfig
[user]
name = Joe User
email = joe@joeuser.com
[branch]
autosetupmerge = true
[branch "master"]
remote = origin
merge = refs/heads/master
[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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment