Ran Visual Studio Installer for the following:
Now when I load any project, it is no longer under source control. In the Git output window, I get a very helpful "One or more errors occurred".

Using the Bitbucket as source control provider.
I've tried going to the Git menu and the only enabled options are to create a repo or connect to a local repo. I've tried connecting to local with no results.
Is there a way I can find out what the errors are?
I had the same problem after updating to 17.1.5.
I checked the ownership of the folder of my local repository and my project (Working Tree).
Setting the ownership to myself fixed the problem.
TO DO THIS:
working tree and .git folder.PropertiesSecurity.Advanced button.Change for the owner.user name.Replace owner on subcontainers and objects.Apply and Ok.VS can then open the local repository.
I cannot connect to git repo and get the "One or more errors occurred" message in the Git output after updating VS to 17.1.4 - on only some of my repos, not all. I do not use the Atlassian Bitbucket source control service.
When running VS 2022 'as administrator' connection to the git repo is possible without errors.
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