Skip to content

Instantly share code, notes, and snippets.

@pjmorse
Created September 6, 2012 20:47
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 pjmorse/3660259 to your computer and use it in GitHub Desktop.
Save pjmorse/3660259 to your computer and use it in GitHub Desktop.
My ~/.gitconfig
[user]
name = <name>
email = <email>
[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]
pager = more
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = /Users/<username>/.global_ignore
[alias]
co = checkout
st = status
ci = commit
[diff]
renamelimit = 0
[github]
user = <github username>
token = <get token from Github>
.DS_Store
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment