I created a project CmsShoppingCart in MS VS 2015 and created a local repository. But when I want to add commit for the first time, I found the Commit All button is greyed out all showed in the pictures below.
Is any suggestion to such an issue? Thank you very much. Also, this is the first time I am using Team Explorer.
Setting for local repository:

Commit All button greyed out:

In my case (Visual Studio 2022) it was all I needed to correct my email address in menu > Git > Settings > Git Repository Settings > Email same as in menu > Settings > Git Global Settings and the problem was resolved.

In my case i had to run Run
git config --global user.email "[email protected]" and
git config --global user.name "My Name"
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