Edit - This issue seems to have (at least temporarily) resolved itself - I have no idea why and I have not changed anything to make it work - I'll update if it breaks again
I used Git-TF (https://gittf.codeplex.com/) to move our existing Team Foundation Version Control repo to a new Git repo (both repos in the same VSTS Project).
It all appeared to work correctly. However now we have lots of issues.
Error encountered while pushing to the remote repository: Not a valid reference 'origin/development'
405 error
for everything we try to do (abandon / accept - it all throws the same 405 Error)Edit: Steps Taken to setup the Git repo
Steps taken once the Git repo was established
Back to square one until I can repeat the process it seems.
Try right-click on my local branch in Visual Studio under "Branches" in Team Explorer and do a Push, this is where it fails. If I go to "Sync" and do a Push under Outgoing Commits, it works fine.
The same thing happened to me and I resolved it by going to my Repository Settings in Team Explorer > Settings and updating the settings under "Remotes". Origin was set incorrectly to a local git instance.
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