With VSCode 1.50 (Sept 2020), there should now be more option for git commit
in VSCode.
See PR 106335: Adds commands for --no-verify
commit variants
This PR adds *NoVerify
command variants for creating commits while skipping pre-commit and commit-msg hooks.
The commands are only displayed if the git.allowNoVerifyCommit
option is set to true.
This type of commits requires additional confirmation (like git.pushForce
does), which can be bypassed by disabling the git.confirmNoVerifyCommit
option.

As illustrated with issue 110452, commit --no-verify
will be in VSCode 1.52 (Nov. 2020)
Once you enablegit.allowNoVerifyCommit
, a bunch of commands will be available:

That means opening the settings: Ctrl+,, that will update the VSCode settings.json
.
--no-verify
as a default, so you'd need to write your own alias to do this, something likegit config --global alias.mycommit 'commit --no-verify'
git commit
vsgit mycommit
?