Skip to content

Instantly share code, notes, and snippets.

@hdragomir
Created February 22, 2012 11:11
Show Gist options
  • Save hdragomir/1884187 to your computer and use it in GitHub Desktop.
Save hdragomir/1884187 to your computer and use it in GitHub Desktop.
By Popular demand, my gitconfig file
[user]
name = Horia Dragomir
email = [email protected]
[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