i have been committing to my repository along with a team of two people using git

前端 未结 1 448
无人共我
无人共我 2020-12-11 12:20

I had no issues since two weeks but i am getting this error now

murta@DESKTOP-Q8IFK52 MINGW64 ~/Code_Dump/homunculi (haji13)
$ git pull origin develop
fatal:         


        
1条回答
  •  猫巷女王i
    2020-12-11 12:55

    To avoid any interference with another software, use for your Git push a CMD shell where you set a simplified PATH:

    set G=c:\path\to\latest\git
    set PATH=%G%\bin;%G%\usr\bin;%G%\mingw64\bin
    set PATH=%PATH%;C:\windows\system32;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\
    

    If GH (the Git installation folder) is set before Windows\System32, the find from Git will be chosen over the default Windows one.

    Then type 'bash', to get a shell session within your (tailored) CMD shell.
    And try again your git push.

    The OP Murtaza Haji mentions in the comments:

    Anyway, the issue was resolved after I restarted my PC.

    0 讨论(0)
提交回复
热议问题