Skip to content

Instantly share code, notes, and snippets.

@robpataki
Created May 28, 2015 16:23
Show Gist options
  • Save robpataki/44e014447b4036f7f658 to your computer and use it in GitHub Desktop.
Save robpataki/44e014447b4036f7f658 to your computer and use it in GitHub Desktop.
.gitconfig
[core]
excludesfile = /Users/rob/.gitignore_global
[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
[user]
name =
email =
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
@robpataki
Copy link
Author

This file goes in the root dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment