git: 'remote-https' is not a git command?

前端 未结 4 1911
伪装坚强ぢ
伪装坚强ぢ 2020-12-11 05:02

Whenever I attempt to clone, push or pull I get:

C:\\Users\\User\\Documents\\Project>git pull

git: \'remote-https\' is not a git c

4条回答
  •  甜味超标
    2020-12-11 05:34

    I was also having this error, and solved it by running this command:

    path %path%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin

    This added the folder where my git-remote-https.exe file was stored.

提交回复
热议问题