Adding Git to Windows 7 Path


SUBMITTED BY: sapigemuk

DATE: March 5, 2016, 11:46 p.m.

FORMAT: Text only

SIZE: 705 Bytes

HITS: 573

  1. Adding Git to Windows 7 Path
  2. Note: You must have msysgit installed on your machine. Also, the path to my git install is "C:\Program Files (x86)\Git" yours might be different. Please check were yours is before continuing.
  3. Open Windows Environment Variables/Path Window
  4. Right-Click on My Computer
  5. Click Advanced System Settings link from the left side column
  6. Click Environment Variables in the bottom of the window
  7. Then under System Variables look for the path variable and click edit
  8. Add the pwd to git's bin and cmd at the end of the string like this:
  9. ;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd
  10. Now test it out in PowerShell; type git and see if it recognizes the command.

comments powered by Disqus