Git push to multiple repos prints "fatal: a task was canceled" and takes about 10 minutes to complete

414 Views Asked by At

I am attempting to push commits to multiple remote repositories at once. My approach (which is described here) is to set the remote push url origin to both 2 repos and do the git push command.

However, the push process takes quite a long time to complete (approximately 10 minutes) and it also prints to the console "fatal: A task was canceled" as the image below image.

Thanks for reading, I really appreciate your help.

1

There are 1 best solutions below

1
On

Use these commands

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