Reputation: 15327
When I have no staged changes, and I try to commit, I get the following dialog box:
If I choose Always, will unstaged changes be auto-committed in the future only if there are no staged changes? Or even if there are some staged changes?
Upvotes: 33
Views: 62538
Reputation: 1577
in the list of CHANGES list, click the plus icon button on right side to make item to be staged.
Upvotes: 19
Reputation: 67609
When there are no staged changes.
You can check it for yourself and disable at any moment from settings.json
// Commit all changes when there are no staged changes.
"git.enableSmartCommit": false,
Upvotes: 12