While I am trying to run my build through VSTS Git I am getting the following error:
error: cannot lock ref 'refs/remotes/origin/x/y': 'refs/remotes/origin/x' exists; cannot create 'refs/remotes/origin/x/y'
![new branch] x/y -> origin/x/y (unable to update local references)
error: some local refs could not be updated; try running 'git remote prune origin' to remove any old, conflicting branches
I have tried pruning and did whatever could have done but still the issue persists. Please help