git-receive-pack: command not found in Windows

后端 未结 4 1570
忘掉有多难
忘掉有多难 2021-01-12 08:24

Wondering how to fix this problem in Windows ?

When i try and use the command \"git push origin master\" I get

git-receive-pack: command not

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-12 08:54

    You need to add the bin folder path where git was installed to the PATHS of the Windows System Environment variables. But if you have installed git using a 64-bit installer the path is different:

    C:\Program Files\Git\mingw64\bin
    

    notice the sub path "mingw64".

提交回复
热议问题