This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/apps/git/config

80 lines
1.5 KiB
Plaintext
Raw Normal View History

[push]
2019-02-04 09:57:54 -06:00
default = current
[user]
name = Daniel Flanagan
2019-03-13 09:35:04 -05:00
email = daniel@lytedev.io
2020-01-08 10:59:45 -06:00
signingkey = daniel@lytedev.io
2019-02-04 09:57:54 -06:00
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
editor = nvim
2020-02-10 21:25:23 -06:00
pager = diff-so-fancy | less --tabs=2 -RFX
[http "https://gopkg.in"]
followRedirects = true
[diff]
tool = nvimdiff
[difftool]
prompt = false
[alias]
d = difftool
2019-08-10 21:40:35 -05:00
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
a = add -A
2019-11-28 08:22:41 -06:00
cnv = commit --no-verify
2020-01-20 14:28:45 -06:00
canv = commit --no-verify
2019-11-28 08:22:41 -06:00
c = commit
[merge]
tool = nvimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[mergetool "nvimdiff"]
2019-01-30 14:24:05 -06:00
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
2019-02-04 01:43:53 -06:00
[pager]
branch = false
2020-01-20 14:28:45 -06:00
# remove ansi codes, pad each file's diff with newlines, show as diff, remove top padding
diff = vimpager -c 'silent %sm/\\e[^mK]*[mK]//g' -c 'silent %s/^diff/\\r\\rdiff/' -c 'silent set ft=diff' -c 'silent execute \"normal gg2dd\"'
2019-06-25 15:57:42 -05:00
2019-11-01 20:28:53 -05:00
[url "git@github.com:postmates"]
insteadOf = https://github.com/postmates
2020-01-20 14:28:45 -06:00
2020-01-08 10:59:45 -06:00
[commit]
gpgsign = true
2020-01-20 14:28:45 -06:00
2020-01-08 10:59:45 -06:00
[gpg]
program = gpg2
2020-02-10 21:25:23 -06:00
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse