My personal git config.
Created
November 10, 2017 08:08
-
-
Save iwat/ca1c95be11ce5d1c121c11727fdd0c63 to your computer and use it in GitHub Desktop.
My Git Config
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
*.rb diff=ruby |
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
# This is Git's per-user configuration file. | |
[user] | |
# Please adapt and uncomment the following lines: | |
name = | |
email = | |
signingkey = BD277695981F717A | |
[core] | |
attributesfile = /Users/iwat/.gitattributes_global | |
excludesfile = /Users/iwat/.gitignore_global | |
pager = | |
[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 | |
[commit] | |
gpgsign = true | |
template = /Users/iwat/.stCommitMsg | |
[gpg] | |
program = gpg | |
[merge] | |
tool = fugitive | |
[mergetool "fugitive"] | |
cmd = vim -f -c \"Gdiff\" \"$MERGED\" | |
[alias] | |
fix = !git diff --name-only --relative -z --diff-filter=U | xargs -0 ${EDITOR} | |
release-tree = !"_MERGE_BASE=`git merge-base origin/develop origin/master`; git log --oneline --graph ${_MERGE_BASE}~..origin/develop ${_MERGE_BASE}~..origin/master `git rev-list --tags --max-count=1`" |
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
.*.swp | |
.DS_Store | |
.vscode | |
tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment