Skip to content

Instantly share code, notes, and snippets.

@rschmukler
Created December 3, 2013 15:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rschmukler/7771376 to your computer and use it in GitHub Desktop.
Save rschmukler/7771376 to your computer and use it in GitHub Desktop.
My Gitconfig, sensitive data stripped out...
[color]
branch = auto
diff = auto
status = 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
[alias]
setref = !sh -c 'git config --add branch.`git branch | grep \"*\" | sed \"s/* //\"`.references $1' -
[push]
default = matching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment