Search code examples
gitinno-setupgit-for-windows

Git for Windows silent installation without "Credential Manager"


I want to install git (Git-2.14.1-64-bit.exe for example) using command line without setup credential.manager.

I've tried to find options in https://github.com/git-for-windows/build-extra/blob/master/installer/install.iss.

Any suggestion how to do this using flags or environment variables?


Solution

  • Based on ReplayChoice function and its use in the InitializeWizard event function, this command-line switch should do:

    /o:UseCredentialManager=Disabled
    

    (or any other value except for Enabled)