Commiting a change

Eli Williams 11 Reputation points

I am coding in Visual studio and I have "staged changes" that need to be committed to upload to GitHub but my "Commit Staged" button is greyed out and now allowing me to click it thus not allowing me to commit my changes

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,862 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,626 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor

    Hi @Eli Williams ,

    Welcome to Microsoft Q&A!

    Which version of Visual Studio are you using?

    I tested on VS2022 version 17.4.1 and it works normally. Please update your VS to the latest version and try again.

    Before clicking on “Commit Staged”, you need to enter a message to describe your staged changes.

    For more details, you can refer to: How to create a commit.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.