Cygwin git fork() error on pull

前端 未结 5 1003
猫巷女王i
猫巷女王i 2021-02-01 04:54

The basic problem is that sometimes when I do

git pull upstream master

I get

remote: Counting objects: 172, done.
remote: Comp         


        
5条回答
  •  清酒与你
    2021-02-01 05:37

    Instead of setting the PATH variable or using git's full path (once), this should work as well:

    git=`which git`
    git pull
    

    This will assign git to it's full path for consecutive calls. Now, if git is used in another program(like make), it will be able to.

提交回复
热议问题