modules.packages.git: add config

This commit is contained in:
2025-09-24 14:56:11 +08:00
parent 169d819b0e
commit cc92fdf9c4

View File

@@ -16,6 +16,7 @@ inputs:
lfs.ssh.automultiplex = false; # 避免 lfs 一直要求触摸 yubikey
receive.denyCurrentBranch = "warn"; # 允许 push 到非 bare 的仓库
merge.ours.driver = true; # 允许 .gitattributes 中设置的 merge=ours 生效
advice.addIgnoredFile = false; # 关闭 add 忽略文件时的提示
};
};
};