TLJ
TLJ

Reputation: 4945

Visual Studio Code Prevent Accidentally Commit All Changed Files

I uses git as a source control in VS Code. I remember seeing a warning dialog about committing without staging files. I chose "always commit all" or something like that, but now I want the dialog back.

Can anyone suggest how to do it?

Upvotes: 2

Views: 2217

Answers (2)

Ezequiel
Ezequiel

Reputation: 569

Go to File -> Preferences -> Settings -> Git: Suggest Smart Commit -> Reset Setting (or check box).

Upvotes: 2

Alex
Alex

Reputation: 67523

settings.json:

"git.enableSmartCommit": false

Upvotes: 9

Related Questions