I'm using VS Online + Git for Version Control, and everything worked fine for a long time until yesterday, when I reinstalled windows and installed VS 2015. I've opened VS and chose option Open from source control and connected to my VS online account, but when I tried to clone project to my PC I got error:
Error encountered while fetching: Invalid redirect to a non-git endpoint
I've tried few things (mostly randomly because I could not find anything helpful about this err) and nothing helped.
Then I've opened Git bash and manually cloned project to my PC and that wen without any problems. After that I opened project in VS and did some changes, committed dose changes locally without any problems, but when I tried to Sync my project I got same error again. Again, pushing code to server from Git bash went without any problems.
Also I've tried to clone project from another VS online account trough VS + Team Explorer and that went fine.
Could you please help me ?
To resolved this I had to logout of Team Foundation Server. In VS 2015, in the Team tab, select "Disconnect from Team Foundation Server". You can close VS and restart it if you choose but I don't think that makes a difference. When VS is back up go to the Team tab once again and select "Manage Connections", then click on the "Manage Connections" link then follow the steps to login.
Encountered same problem just now - after some google-fu nothing changed. But then tried following steps and it worked (push manually before doing it or safe your changes somewhere):
after these steps i was able synch again
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With