2010-06-25 14:11:53 +10:00
|
|
|
[alias]
|
2013-03-12 04:56:36 +11:00
|
|
|
# Add file excluding whitespace changes (http://stackoverflow.com/a/7149602/56690)
|
|
|
|
addnw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
|
2011-11-08 17:54:51 +11:00
|
|
|
unadd = reset HEAD
|
2013-03-12 04:56:47 +11:00
|
|
|
ctags = "!$(git rev-parse --show-toplevel)/.git/hooks/ctags"
|
2012-12-05 11:55:49 +11:00
|
|
|
latest = for-each-ref --sort=-committerdate --format='%(committerdate:relative) -> %(refname:short)'
|
2013-04-01 08:03:55 +11:00
|
|
|
lg = log --decorate --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
|
2013-03-10 16:42:47 +11:00
|
|
|
switch = !legit switch \"$@\"
|
|
|
|
branches = !legit branches
|
|
|
|
sprout = !legit sprout \"$@\"
|
|
|
|
unpublish = !legit unpublish \"$@\"
|
|
|
|
harvest = !legit harvest \"$@\"
|
|
|
|
sync = !legit sync \"$@\"
|
|
|
|
publish = !legit publish \"$@\"
|
|
|
|
graft = !legit graft \"$@\"
|
2010-06-25 14:11:53 +10:00
|
|
|
[apply]
|
2013-04-01 08:03:55 +11:00
|
|
|
whitespace = fix
|
2010-06-25 14:11:53 +10:00
|
|
|
[color]
|
2011-11-08 17:54:51 +11:00
|
|
|
branch = auto
|
|
|
|
diff = auto
|
|
|
|
status = auto
|
|
|
|
ui = auto
|
2010-06-25 14:11:53 +10:00
|
|
|
[core]
|
2011-11-08 17:54:51 +11:00
|
|
|
attributesfile = ~/.gitattributes
|
|
|
|
excludesfile = ~/.gitignore
|
2013-04-01 08:03:55 +11:00
|
|
|
whitespace = trailing-space,space-before-tab
|
|
|
|
precomposeunicode = true
|
|
|
|
editor = vim -u NONE +0 -c 'syntax on'
|
2010-06-25 14:11:53 +10:00
|
|
|
[branch]
|
2011-11-08 17:54:51 +11:00
|
|
|
autosetupmerge = always
|
|
|
|
autosetuprebase = local
|
2010-06-25 14:11:53 +10:00
|
|
|
[diff "ruby"]
|
2011-11-08 17:54:51 +11:00
|
|
|
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\)
|
2011-09-20 06:12:35 +10:00
|
|
|
[github]
|
2011-11-08 17:54:51 +11:00
|
|
|
user = bjeanes
|
2011-11-08 17:52:14 +11:00
|
|
|
[init]
|
|
|
|
templatedir = ~/.git_template
|
2011-12-22 06:42:17 +11:00
|
|
|
[rerere]
|
|
|
|
enabled = 1
|
2012-08-17 06:57:02 +10:00
|
|
|
[include]
|
2012-08-17 07:40:42 +10:00
|
|
|
path = .gitconfig.github
|
|
|
|
path = .gitconfig.pushurls
|
|
|
|
path = .gitconfig.merge
|
2012-08-17 06:57:02 +10:00
|
|
|
path = .gitconfig.local
|
2012-10-23 15:31:31 +11:00
|
|
|
[credential]
|
2013-04-01 08:03:55 +11:00
|
|
|
username = bjeanes
|
2012-10-23 15:31:31 +11:00
|
|
|
helper = osxkeychain
|
2012-11-24 10:36:53 +11:00
|
|
|
[difftool "Kaleidoscope"]
|
|
|
|
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
|
|
|
|
[diff]
|
2013-04-01 08:03:55 +11:00
|
|
|
algorithm = minimal
|
|
|
|
mnemonicprefix = true
|
2012-11-24 10:36:53 +11:00
|
|
|
tool = Kaleidoscope
|
2013-04-01 08:03:55 +11:00
|
|
|
renames = copies
|
2012-11-24 10:36:53 +11:00
|
|
|
[difftool]
|
|
|
|
prompt = false
|
|
|
|
[mergetool "Kaleidoscope"]
|
|
|
|
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
|
2013-03-10 16:43:00 +11:00
|
|
|
trustExitCode = true
|
2012-11-24 10:36:53 +11:00
|
|
|
[mergetool]
|
|
|
|
prompt = false
|
|
|
|
[merge]
|
2013-04-01 08:03:55 +11:00
|
|
|
conflictstyle = diff3
|
2012-11-24 10:36:53 +11:00
|
|
|
tool = Kaleidoscope
|
2013-10-12 04:01:55 +11:00
|
|
|
[pull]
|
|
|
|
rebase = true
|
|
|
|
[heroku]
|
|
|
|
account = heroku
|
|
|
|
[push]
|
|
|
|
default = simple
|