Skip to content

Instantly share code, notes, and snippets.

@nyarly
Last active January 18, 2016 19:03
Show Gist options
  • Save nyarly/3cd9faaca12d73f38843 to your computer and use it in GitHub Desktop.
Save nyarly/3cd9faaca12d73f38843 to your computer and use it in GitHub Desktop.
[core]
fsyncobjectfiles = false
excludesfile = ~/.config/git/ignore
[user]
email = [email protected]
name = Judson
[branch]
autosetupmerge = true
[color]
branch = true
diff = true
grep = true
interactive = true
status = true
ui = true
[rerere]
enabled = true
#[difftool]
# external = ~/bin/git-meld-wrapper.sh
# prompt = no
[github]
user = nyarly
token = <redacted>
[init]
templatedir = ~/.git_template
[alias]
ctags = !.git/hooks/ctags
bundle-tags = !.git/hooks/bundle-ctags
savepoint-merge = !~/bin/git-savepoint-merge
savepoint-complete = !~/bin/git-savepoint-complete
savepoint-reset = !~/bin/git-savepoint-reset
savepoint-zap = branch -d savepoint
localize-branches = !~/bin/git-localize-branches
go-root = !echo $(pwd) $GIT_PREFIX
pb = !pb
mt = mergetool
dt = difftool -d
[bash]
showDirtyState = true
[push]
default = current
[diff "rawtext"]
textconv = "sed -e :a -e '/^\\\n*$/{$d;N;};/\\\n$/ba' | sed 's/\\s*$//'"
#textconv = "sed -e :a -e '/^\\n*$/{$d;N;ba' -e '}' | sed 's/[[:space:]]*$//'"
[filter "trimwhite"]
clean = "sed -e :a -e '/^\\\n*$/{$d;N;};/\\\n$/ba' | sed 's/\\s*$//'"
#clean = "sed -e :a -e '/^\\n*$/{$d;N;ba' -e '}' | sed 's/[[:space:]]*$//'"
[help]
autocorrect = -1
[interactive]
singlekey = true
[merge]
tool = mymeld
conflictstyle = diff3
[mergetool "mymeld"]
cmd = meld --diff $LOCAL $BASE $REMOTE --output $MERGED --diff $BASE $LOCAL --diff $BASE $REMOTE
[mergetool]
keepBackup = false
prompt = false
[rebase]
autosquash = yes
[diff]
tool = meld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment