There are many check boxes on the GIT windows installer, this script stops people getting it wrong. I did think about using winget but I don’t think you can add an .ini file for config and users who have never used winget (which many probably haven’t) would have to agree to the T&Cs first so would make the script not be effective. Also I don’t think you can add so many parameters to the command line to get a one line solution. If any of the parameters are incorrect please let me know.
There are many check boxes on the GIT windows installer, this script stops people getting it wrong. I did think about using winget but I don’t think you can add an .ini file for config and users who have never used winget (which many probably haven’t) would have to agree to the T&Cs first so would make the script not be effective. Also I don’t think you can add so many parameters to the command line to get a one line solution. If any of the parameters are incorrect please let me know.
https://github.com/git-for-windows/git/wiki/Silent-or-Unattended-Installation