mkloubert / vscode-git-notify

Visual Studio Code extension, which receives and shows git events from webhooks.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-git-notify
GNU Lesser General Public License v3.0
11 stars 0 forks source link

How to invoke git hooks from source control #2

Open chitramanu86 opened 4 years ago

chitramanu86 commented 4 years ago

The git hooks get executed while commiting and pushing the code via command line. But they are not getting invoked when I do commit via source control. How to enable git hooks in source control as well?

Lakshmikanth2001 commented 1 year ago

just remove the .sample from pre-commt.sample file name then the pre-commit hook will be activated

https://git-scm.com/docs/git-hook

you can refer my extension : https://marketplace.visualstudio.com/items?itemName=lakshmikanthayyadevara.githooks