The environment variable HOME is not set. The following directory will be used to store the Git

转自:https://blog.csdn.net/lan120576664/article/details/33731109

解决方法:

Add the environment variable HOME to your environment variables.

  1. In Windows 7, type "environment" at the start menu.
  2. Select "Edit environment variables for your account".
  3. Click the "New" button.
  4. Enter "HOME" in the name field.
  5. Enter "%USERPROFILE%" or some other path in the value field.
  6. Click OK, and OK again. You have just added the Home directory on Windows.

猜你喜欢

转载自blog.csdn.net/hnlgzb/article/details/81945102