Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to invoke git hooks from source control #2

Open
chitramanu86 opened this issue Aug 22, 2020 · 1 comment
Open

How to invoke git hooks from source control #2

chitramanu86 opened this issue Aug 22, 2020 · 1 comment

Comments

@chitramanu86
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants