From: Sri Harsha Akavaramu <harsha.akavaram@gmail.com>
To: git@vger.kernel.org
Subject: about git hooks
Date: Sat, 17 Oct 2020 19:54:10 +0530 [thread overview]
Message-ID: <CANZ9uZyL=+LNS-+2p3ukSPg_UXxjfcjD8QPVF4p0NF5-+eYMYA@mail.gmail.com> (raw)
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 reply other threads:[~2020-10-17 14:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-17 14:24 Sri Harsha Akavaramu [this message]
2020-10-17 20:38 ` about git hooks brian m. carlson
2020-10-20 10:48 ` Sri Harsha Akavaram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANZ9uZyL=+LNS-+2p3ukSPg_UXxjfcjD8QPVF4p0NF5-+eYMYA@mail.gmail.com' \
--to=harsha.akavaram@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).