I created a new folder Test. run command: git init then I setUp global configuration - mail and name then I added:
git remote add origin https://bvcdata.visualstudio.com/_git/MyRepo
git push -u origin --all
and immediately get error:
remote: TF401019: The Git repository with name or identifier sdsdsd does not exist or you do not have permissions for the operation you are attempting. fatal: repository 'https://xxxxxx.visualstudio.com/_git/MyRepo/' not found
I am the owner of the project on VSTS, so I have all privilegies. It all was working till now. Thanks for feedback.
TLDR:
%LocalAppData%\GitCredentialManager\tenant.cache
file on your machinegit credential-manager clear <repo url>
This error message came up for me when the repository credentials Git had cached became stale.
Diagnostic stages for me were:
git fetch
?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