How to upgrade Git on Windows to the latest version?

前端 未结 14 1700
面向向阳花
面向向阳花 2020-12-02 03:37

I just upgraded to Git 1.8.0.1 for Windows, from my previous version 1.7.9.mysysgit.0. I downloaded the new version from the Git site and installed through the normal Git in

14条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 03:56

    to check out your PATH variable, act as follow:

    1. From the Desktop, right-click My Computer and click Properties.
    2. Click Advanced System Settings link in the left column.
    3. In the System Properties window click the Environment Variables button.

    Once there, scroll to get the Path row, you'll get a long string of paths (e.g. C:\windows\bin;C:\program files\git, etc)

    Find the line or lines where git is referenced. Then, make sure this path point to your Git 1.8.x installation. If not, delete it and add the real path to the newest Git version. At the end, you should only have one path in the string linking to Git.

提交回复
热议问题