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

67 lines
1.2 KiB
Plaintext
Raw Normal View History

[push]
2019-02-04 09:57:54 -06:00
default = current
[user]
name = Daniel Flanagan
2020-04-07 11:12:33 -05:00
email = daniel@lyte.dev
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
[http "https://gopkg.in"]
followRedirects = true
[diff]
2020-02-12 11:13:46 -06:00
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"]
2020-02-12 09:46:01 -06:00
cmd = nvimdiff $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
2020-02-12 11:13:46 -06:00
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-13 16:29:47 -06:00
[include]
path = $ENV_PATH/gitconfig