Skip to content

Instantly share code, notes, and snippets.

@LeeFlannery
Last active August 29, 2015 14:06
Show Gist options
  • Save LeeFlannery/aed37e945e1554ac336a to your computer and use it in GitHub Desktop.
Save LeeFlannery/aed37e945e1554ac336a to your computer and use it in GitHub Desktop.
My Mac .gitconfig.
[user]
name = Lee Flannery
email = lee.flannery@example.com
[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
[core]
excludesfile = /Users/lee07117/.gitignore_global
autocrlf = input
safecrlf = true
editor = subl -n -w
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
[credential]
helper = osxkeychain
[diff]
tool = kdiff3
[difftool]
prompt = false
[merge]
tool = kdiff3
trustExitCode = true
[mergetool]
keepBackup = false
trustExitCode = true
[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