gitconfig: Add support for LFS
This commit is contained in:
parent
8e2c9918ab
commit
17e20bc020
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue