Reputation: 20360
When installing git for windows, a user is asked to select from following 3 options:
I installed with option 1 selected, but now want to change to option 3. How can I do this?
EDIT:
want to add some useful links to help with git installation:
http://mechanicalrevolution.com/blog/git_installation.html
http://www.diplo.co.uk/blog/2011/6/2/installing-git-on-windows.aspx
http://gitscc.codeplex.com/
Upvotes: 3
Views: 1843
Reputation: 33203
Remove C:\Program Files (x86)\Git\bin
from the path and replace it with C:\Program Files (x86)\Git\cmd
This option just selects what goes onto the path. If you just add the Git\cmd\ directory to the path then that provides a git.cmd and a gitk.cmd which let you work properly from the Windows command prompt.
To edit the PATH environment variable, you need to use the Advanced System Settings dialog from the control panel system settings page and click the Environment Variables button. Unfortunately the edit window is really small - its usually helpful to copy the PATH value into notepad to edit then paste it back in after.
Alternatively, you could uninstall and reinstall Git with the correct setting selected.
Upvotes: 3