Skip to content
lucas-v edited this page Aug 26, 2013 · 3 revisions

As VBAToolKit executes some Git commands to initialize a local git repository, the Git executable file has to be accessible via the system's PATH.

During the installation process of the standard Windows Git package, the Install wizard asks the user if he wants to add Git to the system's PATH :
install

  • The first option does not add Git to the system's PATH
  • The second option does.
  • The third does too, but it is not necessary for VBAToolKit to function properly with Git.

If a user selects the first option, he will have to add Git to the PATH manually.

Add Git to the PATH manually

  1. Right-click on My Computer, and then click Properties.
  2. Click the "Advanced" or "Advanced System Parameter" *depending on the version of Windows
  3. Click "Environment Variables".
  4. In "System Variables", look for the environment variable named "Path" .
  5. Click on the "modify" button.
  6. Now we will add the "Git\cmd" folder to the PATH, according to the Git installation folder. For example, if Git was installed in " C:\Program Files\Git" , then you should add ";C:\Program Files\Git\cmd" at the end of the Path.

gitpath 7. Click on "ok" to save the changes and to close the windows.
8. Now open "cmd.exe", type "git" and press return. Git's help should be displayed.