Skip to content

Instantly share code, notes, and snippets.

@dladowitz
Created October 6, 2016 16:33
Show Gist options
  • Save dladowitz/f80e8bec4830e0c2ea56232309cae71e to your computer and use it in GitHub Desktop.
Save dladowitz/f80e8bec4830e0c2ea56232309cae71e to your computer and use it in GitHub Desktop.
git config file
[user]
name = David Ladowitz
email = david@ladowitz.com
[core]
quotepath = false
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore_global
editor = subl -n -w
[color]
ui = true
[color "branch"]
current = yellow
local = yellow black
remote = magenta
[color "diff"]
meta = yellow
frag = magenta
old = red reverse
new = green reverse
whitespace = white reverse
[color "status"]
added = green
changed = red
untracked = cyan
branch = magenta
[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
s = status -s
l = log --oneline --stat
lol = log --graph --all --oneline --decorate
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[merge]
tool = p4mergetool
[mergetool "p4mergetool"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge $PWD/$BASE $PWD/$REMOTE $PWD/$LOCAL $PWD/$MERGED
trustExitCode = false
[mergetool]
keepBackup = false
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment