-
-
Save premkash/d18b1e7ba708b71efcb8405751c9b116 to your computer and use it in GitHub Desktop.
My personal 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 = Ronald Suwandi | |
email = [email protected] | |
[core] | |
excludesfile = /Users/ronald/.gitignore_global | |
# editor = subl -nw | |
editor = vim | |
[diff] | |
tool = sublimerge | |
[difftool] | |
prompt = false | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[difftool "sublimerge"] | |
cmd = subl -nw \"$REMOTE\" \"$LOCAL\" --command \"sublimerge_diff_views {\\\"left_read_only\\\": true, \\\"right_read_only\\\": true}\" | |
[merge] | |
tool = sublimerge | |
[mergetool "sourcetree"] | |
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
trustExitCode = true | |
[mergetool "sublimerge"] | |
cmd = subl -nw \"$REMOTE\" \"$BASE\" \"$LOCAL\" \"$MERGED\" --command \"sublimerge_diff_views\" | |
trustExitCode = false | |
[color] | |
ui = true | |
[alias] | |
co = checkout | |
st = status | |
tree = log --graph --decorate=short --branches --date=relative --abbrev-commit --shortstat --remotes=origin --source | |
tr = log --graph --decorate=short --branches --date=relative --abbrev-commit --shortstat --remotes=origin --source | |
trst = log --graph --decorate=short --branches --date=relative --abbrev-commit --stat --remotes=origin --source | |
dt = difftool | |
mt = mergetool | |
[push] | |
# push the current branch to a branch of the same name | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment