Languages

Git - git pull fatal: TaskCanceledException encountered. A task was canceled.

8 points
Asked by:
Marcin
16270

Sometimes when I run git pull command on my project I get following error:

$ git pull
fatal: TaskCanceledException encountered.
   A task was canceled.

The solution is to restart Windows. Is there any other approach that sovles the problem?

2 answers
1 points
Answered by:
Marcin
16270

I had same problem.

Solved with:

git config --system --unset credential.helper
git config --global credential.helper wincred

Use admin permissions for git config --system ...

0 comments Add comment
1 points
Answered by:
Marcin
16270

Practical example (run cmd as administrator):

C:\Users\greg\projects\crawlers> git pull
fatal: TaskCanceledException encountered.
   A task was canceled.
Already up to date.

C:\Users\greg\projects\crawlers> git config --system --unset credential.helper

C:\Users\greg\projects\crawlers> git config --global credential.helper wincred

C:\Users\greg\projects\crawlers> git pull
Already up to date.
cmd run as administrator under Windows
cmd run as administrator under Windows
0 comments Add comment
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - friendly IT community for everyone.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join