Last active
August 29, 2015 13:56
-
-
Save AlexKorovyansky/8998138 to your computer and use it in GitHub Desktop.
Template for .gitconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Alex Korovyansky | |
email = korovyansk@gmail.com | |
[core] | |
excludesfile = /Users/akorovyansky/.gitignore_global | |
editor = subl -n -w | |
[push] | |
default = simple | |
[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 | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
undo = reset --hard | |
stat = show --stat | |
pull = pull --no-commit | |
[apply] | |
whitespace = nowarn | |
[color] | |
diff = auto | |
status = auto | |
branch = auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment