FollieHiyuki-dotfiles/home/.config/git/config
2021-10-17 21:48:03 +07:00

72 lines
1.7 KiB
Plaintext

[http]
sslverify = true
[gpg]
program = gpg2
[commit]
gpgsign = true
[user]
name = FollieHiyuki
email = folliekazetani@protonmail.com
signingkey = 813CF484F4993419
[core]
editor = nvim
pager = delta
whitespace = trailing-space
[delta]
features = line-numbers decorations
zero-style = dim syntax
minus-style = red bold "#340001"
plus-style = green bold "#012800"
syntax-theme = base16
[delta "line-numbers"]
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"
line-numbers-left-style = blue
line-numbers-right-style = blue
line-numbers-minus-style = 1
line-numbers-plus-style = 2
line-numbers-zero-style = 7
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = yellow box
[interactive]
diffFilter = delta --color-only
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = true
[fetch]
prune = true
[init]
defaultBranch = main
[rebase]
autosquash = true
[push]
followTags = true
[submodule]
recurse = true
[help]
autocorrect = 1
[alias]
l = log --graph --pretty=format:'%C(italic)%t%Creset %C(bold)<%an>%Creset -> %C(bold)%d%Creset %C(blue)%s%Creset - %C(italic)(%cr)%Creset'
s = status -sbu
sbu = submodule update --remote --merge
unstage = reset HEAD
[url "https://github.com/"]
insteadOf = gh:
[url "https://gist.github.com/"]
insteadOf = gist:
[url "https://gitlab.com/"]
insteadOf = gl:
[url "https://git.disroot.org/"]
insteadOf = dr:
[url "https://codeberg.org/"]
insteadOf = cb:
[url "https://git.sr.ht/~"]
insteadOf = sr: