git/list[1] front-page[2] threads[3] people[4] search[5] about
 

about git hooks

From
SASri 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

Next: brian m. carlson
Message 1 of 3 in “about git hooks”
  1. Sri Harsha AkavaramuOct 17, 2020
  2. brian m. carlsonOct 17, 2020
  3. Sri Harsha AkavaramOct 20, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.