Skip to content

Instantly share code, notes, and snippets.

@hdragomir
Created Feb 22, 2012
Embed
What would you like to do?
By Popular demand, my gitconfig file
[user]
name = Horia Dragomir
email = horia@hdragomir.com
[github]
user = hdragomir
[alias]
st = status -sb
ci = commit
co = checkout
p = push
pl = pull
br = branch
me = log --author=horia --after=yesterday --no-merges --format=%s, --reverse
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
wiff = diff --color-words
undo = reset --hard
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[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
[core]
editor = vim
excludesfile = /Users/hdragomir/.gitignore
[merge]
tool = vimdiff
[apply]
whitespace = nowarn
[push]
default = tracking
[config]
rerere = enabled
[rerere]
enabled = true
[branch "master"]
rebase = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment