[10:36:11]Updating sources: agent side checkout
[10:36:11][Updating sources] Failed to perform checkout on agent: 'c:\git\bin\git.exe remote add origin https://email@example.com/em/Em.git' command failed. stderr: fatal: remote origin already exists.
I am running TeamCity 8.0.3 on Windows
I am using the Portablegit client from GitHub For Windows
If I look in buildagent temp directory I see what appears to be a bare clone in a .git folder.
If I try and run that command in that folder I get the same error. I just can't understand why it is trying to do the remote add.
This is blocking us moving our TeamCity builds onto GitHub at this point.
Any tips appreciated.