Skip to content

Instantly share code, notes, and snippets.

@techpeace
Created November 2, 2011 15:19
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 techpeace/1333898 to your computer and use it in GitHub Desktop.
Save techpeace/1333898 to your computer and use it in GitHub Desktop.
My global git config
[color]
branch = auto
diff = auto
status = auto
ui = auto
sh = 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
[user]
name = Matt Buck
email = techpeace@gmail.com
[github]
user = techpeace
token = /* YOUR GITHUB TOKEN */
[alias]
contrib = shortlog -n -s --no-merges
glug = log --pretty=oneline --abbrev-commit -n20
gba = branch -a
gc = commit -v -m
gist = status
wtf = !git-wtf
flow = flow
[core]
excludesfile = /Users/techpeace/.gitignore
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment