about git hooks
- From
- Sri Harsha Akavaramu <harsha.akavaram@gmail.com>
- Date
- Oct 17, 2020, 14:24 UTC
- Message-ID
- <CANZ9uZyL=+LNS-+2p3ukSPg_UXxjfcjD8QPVF4p0NF5-+eYMYA@mail.gmail.com>
Hi git,
I just wanted to know something about git hooks.
we use GitHub enterprise and I'm the owner of the GitHub. I'm trying to understand that I want to pose the pre-commit and post-commit rules on all the developers by default and is there a way to pose git hook restrictions on all developers on default.
I came to know when reading with the documentation we cant push hooks to source control. Then what is the best preferred way to pose pre-commit things on all developers using the repository?
Thank you, Sri Harsha