vscode
vscode copied to clipboard
`Commit (amend)` is syncing which is not clear
Testing #217398
- Be in this state where you have a local commit already and a staged change:
- Run
Commit (Amend):
-
Accept the commit message
-
🐛 the commit does get amended, but then sync changes occurs and my code is pushed:
I was expect no push/sync since it's in the top section of this menu:
What is the value of your git.postCommitCommand setting? Thanks!
Yeah it's set to "git.postCommitCommand": "sync",
The current implementation is that the command from this setting is executed after all the commit types of actions. I can revisit that.