Skip to content

Instantly share code, notes, and snippets.

@rallygroup
Created November 4, 2010 00:14
Show Gist options
  • Save rallygroup/661931 to your computer and use it in GitHub Desktop.
Save rallygroup/661931 to your computer and use it in GitHub Desktop.
Sample Git Config file
[user]
name = Your Name
email = email@example.com
[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]
excludesfile = $HOME/.gitignore
pager = less -FRSX
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
ci = commit
co = checkout
st = status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment