Created
April 3, 2014 17:28
-
-
Save jongrover/9958914 to your computer and use it in GitHub Desktop.
Git configuratiuon
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] | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = /Users/jonathangrover/.gitignore_global | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
lg = log -p | |
who = shortlog -s -- | |
up = pull | |
pr = pull --rebase | |
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master" | |
switch = !legit switch \"$@\" | |
branches = !legit branches | |
sprout = !legit sprout \"$@\" | |
unpublish = !legit unpublish \"$@\" | |
harvest = !legit harvest \"$@\" | |
sync = !legit sync \"$@\" | |
publish = !legit publish \"$@\" | |
graft = !legit graft \"$@\" | |
[github] | |
user = jongrover | |
token = c7a1c5b3a992a4a4ef7d2165718b02cffe1a1408 | |
email = hello@jonathangrover.com | |
[github "user"] | |
user = jongrover | |
token = c7a1c5b3a992a4a4ef7d2165718b02cffe1a1408 | |
email = hello@jonathangrover.com | |
[user] | |
name = jongrover | |
email = hello@jonathangrover.com | |
[color] | |
ui = true | |
diff = auto | |
status = auto | |
branch = auto | |
[format] | |
pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset | |
[diff "ruby"] | |
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\) | |
[push] | |
default = current | |
[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 | |
[merge] | |
tool = opendiff | |
[filter "media"] | |
clean = git-media-clean %f | |
smudge = git-media-smudge %f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment