95 lines
1.8 KiB
Plaintext
95 lines
1.8 KiB
Plaintext
[user]
|
|
name = Daniel Flanagan
|
|
|
|
[filter "lfs"]
|
|
clean = git-lfs clean -- %f
|
|
smudge = git-lfs smudge -- %f
|
|
process = git-lfs filter-process
|
|
required = true
|
|
|
|
[core]
|
|
editor = $EDITOR
|
|
excludesfile = /home/daniel/.home/.gitignore
|
|
|
|
[http "https://gopkg.in"]
|
|
followRedirects = true
|
|
|
|
[diff]
|
|
tool = $EDITOR -d
|
|
|
|
[difftool]
|
|
prompt = false
|
|
|
|
[alias]
|
|
a = add
|
|
A = add -A
|
|
ac = commit -a
|
|
b = rev-parse --symbolic-full-name HEAD
|
|
c = commit
|
|
cm = commit -m
|
|
cnv = commit --no-verify
|
|
co = checkout
|
|
d = diff
|
|
ds = diff --staged
|
|
dt = difftool
|
|
f = fetch
|
|
l = log --graph --abbrev-commit --decorate --oneline --all
|
|
plainlog = log --pretty=format:'%h %ad%x09%an%x09%s' --date=short --decorate
|
|
ls = ls-files
|
|
mm = merge master
|
|
p = push
|
|
pf = push --force-with-lease
|
|
pl = pull
|
|
rim = rebase -i master
|
|
s = status
|
|
sur = submodule update --remote
|
|
|
|
[pull]
|
|
default = current
|
|
|
|
[merge]
|
|
tool = $EDITOR -d
|
|
conflictstyle = diff3
|
|
|
|
[mergetool]
|
|
prompt = false
|
|
|
|
[mergetool "nvimdiff"]
|
|
cmd = $EDITOR -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c '$wincmd J'
|
|
|
|
[pager]
|
|
branch = false
|
|
# remove ansi codes, pad each file's diff with newlines, show as diff, remove top padding
|
|
diff = nvim -c 'silent %sm/\\e[^mK]*[mK]//g' \
|
|
-c 'silent %s/^diff/\\r\\rdiff/' \
|
|
-c 'silent set ft=diff' \
|
|
-c 'silent execute \"normal gg2dd\"' \
|
|
-c 'silent setlocal nobuflisted buftype=nofile bufhidden=wipe noswapfile'
|
|
|
|
[gpg]
|
|
program = gpg2
|
|
|
|
[color]
|
|
ui = auto
|
|
|
|
[push]
|
|
default = current
|
|
|
|
[sendemail]
|
|
smtpserver = smtp.mailgun.org
|
|
smtpuser = daniel@lyte.dev
|
|
smtrpencryption = tls
|
|
smtpserverport = 587
|
|
|
|
[include]
|
|
path = ~/.config/lytedev-env/host-layer-personal/gitconfig
|
|
path = ~/.config/lytedev-env/divvy/gitconfig
|
|
|
|
[branch]
|
|
autoSetupMerge = true
|
|
|
|
# [push]
|
|
# pushOption = merge_request.create
|
|
# pushOption = merge_request.remove_source_branch
|
|
# pushOption = merge_request.assign="daniel.flanagan"
|