mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
modules.packages.git: add config
This commit is contained in:
@@ -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 忽略文件时的提示
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user