我想使用命令行安装git(例如Git-2.14.1-64-bit.exe)而不设置 credential.manager 。
我试图在https://github.com/git-for-windows/build-extra/blob/master/installer/install.iss中找到选项。
有关使用标志或环境变量如何执行此操作的建议吗?
答案 0 :(得分:4)
基于ReplayChoice
function及其在InitializeWizard
event function中的使用,此命令行开关应执行以下操作:
/o:UseCredentialManager=Disabled
(或除Enabled
之外的任何其他值)