Skip to content

Instantly share code, notes, and snippets.

@mattetti
Created May 28, 2015 20:20
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 mattetti/dd1091dd68a50b8d1972 to your computer and use it in GitHub Desktop.
Save mattetti/dd1091dd68a50b8d1972 to your computer and use it in GitHub Desktop.
cat ~/.gitconfig
[user]
name = Matt Aimonetti
email = mattaimonetti@gmail.com
[alias]
co = checkout
st = status
br = branch
ci = commit
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s - %an %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit
[apply]
whitespace = nowarn
[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
[pack]
threads = 2
[merge]
summary = true
tool = opendiff
[core]
excludesfile = /Users/mattetti/.gitignore_global
[mergetool "diffmerge"]
cmd = "/Applications/Xcode.app/Contents/Applications/FileMerge.app/Contents/MacOS/FileMerge --nosplash --result=$PWD/$MERGED $PWD/$BASE $PWD/$REMOTE $PWD/$LOCAL"
keepBackup = false
trustExitCode = false
[branch "master"]
remote = origin
merge = refs/heads/master
[push]
default = current
[heroku]
account = matt
[mergetool]
keepBackup = false
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment