dotfiles/.config/git/config

42 lines
723 B
Plaintext
Raw Normal View History

2020-03-08 18:58:52 +00:00
[core]
autocrlf = input
editor = nvim
2020-03-31 20:32:43 +00:00
[diff]
tool = meld
[submodule]
recurse = true
[rerere]
enabled = true
# Accelerate packing by automatically determining thread count
[pack]
threads = 0
# Automatically push to branch with matching name
2020-03-08 18:58:52 +00:00
[push]
default = current
2020-03-31 20:32:43 +00:00
# Disable pagination for branch commmand by default
2020-03-08 18:58:52 +00:00
[pager]
branch = false
2020-03-31 20:32:43 +00:00
[grep]
lineNumber
2020-03-08 18:58:52 +00:00
[color "status"]
added = green
changed = yellow
2020-03-31 20:32:43 +00:00
untracked = magenta
[user]
email = 27jf@pm.me
name = xerus
2020-03-08 18:58:52 +00:00
[alias]
curbranch = symbolic-ref --short HEAD
root = rev-parse --show-toplevel
dir = !git root | sed 's/$/\\/.git/g'
2020-03-31 20:32:43 +00:00
2020-03-08 18:58:52 +00:00
[filter "lfs"]
2020-03-31 20:32:43 +00:00
clean = git-lfs clean -- %f
2020-03-08 18:58:52 +00:00
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
2020-03-31 20:32:43 +00:00
required