Skip to content

Instantly share code, notes, and snippets.

@aaronfeng
Created February 5, 2015 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronfeng/965e3f267934634bc8d9 to your computer and use it in GitHub Desktop.
Save aaronfeng/965e3f267934634bc8d9 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Aaron Feng
email = aaron@forty9ten.com
[diff]
tool = vimdiff
[color]
ui = auto
status = auto
diff = auto
branch = auto
interactive = auto
[alias]
ci = commit -a
co = checkout
st = status
pub = "!f() { git push -u ${1:-origin} `git symbolic-ref HEAD`; }; f"
[apply]
whitespace = fix
[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
[core]
editor = /usr/bin/vim
whitespace = trailing-space,space-before-tab
[push]
default = simple
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment