Last active
June 3, 2016 10:11
-
-
Save qkdreyer/955543268ea051cd3e3bd6ecbf95302b to your computer and use it in GitHub Desktop.
OSX Git Configuration
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
[core] | |
excludesfile = ~/.gitignore_global | |
editor = subl | |
autocrlf = input | |
[user] | |
email = [email protected] | |
name = qkdreyer | |
signingkey = AE749F81 | |
[push] | |
default = current | |
[fetch] | |
recurseSubmodules = true | |
[branch] | |
autosetuprebase = always | |
[merge] | |
tool = sublimerge | |
[mergetool "sublimerge"] | |
cmd = subl -nw \"$REMOTE\" \"$BASE\" \"$LOCAL\" \"$MERGED\" --command \"sublimerge_diff_views\" | |
trustExitCode = false | |
[diff] | |
tool = sublimerge | |
[difftool "sublimerge"] | |
cmd = subl -n --wait \"$REMOTE\" \"$LOCAL\" --command \"sublimerge_diff_views {\\\"left_read_only\\\": true, \\\"right_read_only\\\": true}\" | |
[alias] | |
sync = ls | xargs -P10 -I{} git -C {} pull | |
deploy = "!f(){ B=${1:-deployment}; git checkout $B && git pull && git merge master && git push origin $B && git checkout master; };f" | |
[commit] | |
gpgsign = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment