Windows git: Fatal: TaskCanceledException encountered

后端 未结 8 631
渐次进展
渐次进展 2021-01-31 02:51

I have recently updated my git (2.7.4.windows.1). Since then pulling from github produces output like this:

$ git pull --rebase
Fatal: TaskCanceledException enco         


        
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 03:07

    This happens because there is a clash of git .config settings in the global and system level. In my case, the credential helper in system was set to manager while in global, it was set to wincred. You can check it using the below commands:

    git config --list --system

    git config --list --global

    I changed the system one from manager to wincred and it worked. Change it using the below command.

    git config --global credential.helper wincred

提交回复
热议问题