Open chitramanu86 opened 4 years 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
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?