feat: split git credential config by OS on Linux and macOS
Use includeIf so Linux prefers libsecret with cache fallback, while macOS keeps osxkeychain. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -122,3 +122,8 @@
|
||||
smudge = git-lfs smudge -- %f
|
||||
[http]
|
||||
sslVerify = false
|
||||
|
||||
[includeIf "ondarwin"]
|
||||
path = ~/.dotfile/git/.gitconfig.darwin
|
||||
[includeIf "onlinux"]
|
||||
path = ~/.dotfile/git/.gitconfig.linux
|
||||
|
||||
Reference in New Issue
Block a user