54 lines
987 B
Plaintext
54 lines
987 B
Plaintext
[push]
|
|
default = current
|
|
|
|
[user]
|
|
name = Daniel Flanagan
|
|
email = daniel@lytedev.io
|
|
|
|
[filter "lfs"]
|
|
clean = git-lfs clean -- %f
|
|
smudge = git-lfs smudge -- %f
|
|
process = git-lfs filter-process
|
|
required = true
|
|
|
|
[core]
|
|
editor = nvim
|
|
pager = less -r
|
|
|
|
[http "https://gopkg.in"]
|
|
followRedirects = true
|
|
|
|
[diff]
|
|
tool = nvimdiff
|
|
|
|
[difftool]
|
|
prompt = false
|
|
|
|
[alias]
|
|
d = difftool
|
|
s = status
|
|
co = checkout
|
|
mm = merge master
|
|
rim = rebase -i master
|
|
b = rev-parse --symbolic-full-name HEAD
|
|
p = push
|
|
pl = pull
|
|
pf = push --force-with-lease
|
|
|
|
[merge]
|
|
tool = nvimdiff
|
|
conflictstyle = diff3
|
|
|
|
[mergetool]
|
|
prompt = false
|
|
|
|
[mergetool "nvimdiff"]
|
|
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
|
|
|
[pager]
|
|
branch = false
|
|
diff = nvim -c 'silent %sm/\\e.\\{-}m//g' -c 'silent %s/^diff/\\r\\rdiff/' -c 'silent set ft=diff' -c 'silent setlocal nobuflisted buftype=nofile bufhidden=wipe noswapfile' -c 'goto 1' -
|
|
|
|
[url "git@github.com:"]
|
|
insteadOf = https://github.com/
|