feat(git): Update git config

Many configs taken from this amazing talk at FOSDEM 2024 [1]

[1] https://www.youtube.com/watch?v=aolI_Rz0ZqY
This commit is contained in:
histalek 2024-02-19 10:55:58 +01:00
parent c0e6a28ecc
commit a9e69d8666
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE

View file

@ -10,6 +10,12 @@
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = ls --numstat
[blame]
ignoreRevsFile = .git-blame-ignore-revs
[branch]
sort = -committerdate
[color]
diff = auto
status = auto
@ -22,6 +28,9 @@
changed = yellow bold
untracked = red
[column]
ui = auto
[commit]
gpgsign = true
verbose = true
@ -61,6 +70,9 @@
[pull]
rebase = true
[rerere]
enabled = true
[includeIf "gitdir:~/Documents/Uni/"]
path = ~/.config/git/subconfigs/uni