After installing the new Visual Studio 2022 the built-in Git support has suddenly stopped working. For one of the projects I am seeing only a submodule instead of the main repository. For another project the built-in Git panel doesn't appear at all, displaying some cryptic message about "SccProviderPackage" stating that "One or more errors occurred" as a reason...
Spent a while following every single advice I could find about similar issues with no luck.
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.
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