Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to install git silently. But this machine will be developer machine. So I need to have right-click "git bash here" option. I do that "git.exe /VERYSILENT" but it loads git as default. What is the command line for git with git bash here (right-click)option ?

share|improve this question

1 Answer 1

You could use these options

git.exe /VERYSILENT /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh"

I was able to piece together the options from looking at the code here: https://github.com/msysgit/msysgit/blob/master/share/WinGit/install.iss

Also, the commands for inno setup can be found at: http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.