dotfiles/private_dot_config/git/executable_config.tmpl
2024-07-02 20:42:51 -04:00

82 lines
1.3 KiB
Cheetah

[user]
email = {{ .email | quote }}
name = {{ .name | quote }}
[core]
editor = nvim
# pager = delta
# Remove Carriage Returns
autocrlf = input
eol = lf
[pager]
difftool = true
[interactive]
# diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[merge]
# TODO: set this to meld or nvimdiff
conflictstyle = zdiff3
[diff]
colorMoved = default
mnemonicPrefix = true
renames = true
algorithm = patience
[pull]
rebase = merges
autoSetupRemote = true
default = simple
followTags = true
[apply]
whitespace = fix
[help]
#Automatically fix commands and run after 0.5s
autocorrect = 50
[safe]
directory = /
directory = /etc/nixos
directory = /home/mira/docker/config/argentumcation.com
directory = /home/mira/docker/Dockerfiles/argentumcation.com
[rebase]
autostash = true
[log]
abbrevCommit = true
[rerere]
autoupdate = true
enabled = true
[push]
autoSetupRemote = true
[alias]
lg = log --graph --branches --oneline
st = status
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f