gitconfig: Add support for LFS

This commit is contained in:
Lexi / Zoe 2023-08-20 17:38:28 +02:00
parent 8e2c9918ab
commit 17e20bc020
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,6 @@
[core]
eol = lf
# Normalize line endings
autocrlf = input
[init]
defaultBranch = main
@ -36,6 +37,12 @@
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[pretty]
ls = tformat:%C(yellow)%h %Cgreen%ad %Creset%s %Cblue[%an]%C(auto)%d
lsd = tformat:%>|(13)%C(yellow)%h %Cgreen%ad %Creset%s %Cblue[%an]%C(auto)%d