Skip to content

Instantly share code, notes, and snippets.

@kalisjoshua
Created June 13, 2013 15:10
Show Gist options
  • Save kalisjoshua/5774480 to your computer and use it in GitHub Desktop.
Save kalisjoshua/5774480 to your computer and use it in GitHub Desktop.
git config global
user]
name = Joshua T Kalis
email = [email protected]
[alias]
lg = log --graph --pretty=format:'%C(red)%h%C(reset) -%C(yellow)%d%C(reset) %s %C(green)(%cr) %C(blue)<%an>%C(reset)' --abbrev-commit --date=relative
oldest-ancestor = !zsh -c 'diff -u <(git rev-list --first-parent \"${1:-master}\") <(git rev-list --first-parent \"${2:-HEAD}\") | sed -ne \"s/^ //p\" | head -1' -
webstart = instaweb --httpd=webrick
webstop = instaweb --httpd=webrick --stop
[core]
excludesfile = /Users/jkalis/.gitignore_global
[color]
branch = auto
diff = auto
status = auto
ui = auto
[color "branch"]
current = cyan
remote = red
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = green bold
[color "status"]
added = cyan
changed = yellow
untracked = red
[format]
pretty = "Commit: %C(yellow)%H%nAuthor: %C(green)%aN <%aE>%nDate: (%C(red)%ar%Creset) %ai%nSubject: %s%n%n%b"
[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
[http]
sslVerify = false
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment