git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to restrict commit for a repo
@ 2008-10-06 12:09 Dilip M
  2008-10-06 13:00 ` Miklos Vajna
  0 siblings, 1 reply; 4+ messages in thread
From: Dilip M @ 2008-10-06 12:09 UTC (permalink / raw)
  To: Git Mailing List

Hi all,

I am a new user to GIT. Read few docs in web ..I want to know few things..

If I have a repository, how to prevent push from other repo's into
mine master's? I want to prevent the commits from all developers and
allow only few ppl to commit to masters..

Thanks for sharing the info on this...


-- 
dm

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to restrict commit for a repo
  2008-10-06 12:09 how to restrict commit for a repo Dilip M
@ 2008-10-06 13:00 ` Miklos Vajna
  2008-10-06 17:12   ` Dilip M
  0 siblings, 1 reply; 4+ messages in thread
From: Miklos Vajna @ 2008-10-06 13:00 UTC (permalink / raw)
  To: Dilip M; +Cc: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

On Mon, Oct 06, 2008 at 05:39:39PM +0530, Dilip M <dilipm79@gmail.com> wrote:
> If I have a repository, how to prevent push from other repo's into
> mine master's? I want to prevent the commits from all developers and
> allow only few ppl to commit to masters..

Have you seen contrib/hooks/update-paranoid?

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to restrict commit for a repo
  2008-10-06 13:00 ` Miklos Vajna
@ 2008-10-06 17:12   ` Dilip M
  2008-10-06 19:58     ` Miklos Vajna
  0 siblings, 1 reply; 4+ messages in thread
From: Dilip M @ 2008-10-06 17:12 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Git Mailing List

2008/10/6 Miklos Vajna <vmiklos@frugalware.org>:
> On Mon, Oct 06, 2008 at 05:39:39PM +0530, Dilip M <dilipm79@gmail.com> wrote:
>> If I have a repository, how to prevent push from other repo's into
>> mine master's? I want to prevent the commits from all developers and
>> allow only few ppl to commit to masters..
>
> Have you seen contrib/hooks/update-paranoid?

Miklos,  I am totally new to this tool ( don't know SVN too) . Can you
please consider giving some more info...or guiding me to some good
links...:)

Thanks in advance..

-- 
dm

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to restrict commit for a repo
  2008-10-06 17:12   ` Dilip M
@ 2008-10-06 19:58     ` Miklos Vajna
  0 siblings, 0 replies; 4+ messages in thread
From: Miklos Vajna @ 2008-10-06 19:58 UTC (permalink / raw)
  To: Dilip M; +Cc: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

On Mon, Oct 06, 2008 at 10:42:06PM +0530, Dilip M <dilipm79@gmail.com> wrote:
> > Have you seen contrib/hooks/update-paranoid?
> 
> Miklos,  I am totally new to this tool ( don't know SVN too).

That's good, since your mind is clear yet. :)

> Can you please consider giving some more info...or guiding me to some
> good links...:)
> 
> Thanks in advance..

In general, I would suggest reading the user manual and everyday.txt,
both are under Documentation/.

Second, read man githooks, and then you'll understand how to use the
mentioned hook.

HTH

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-06 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06 12:09 how to restrict commit for a repo Dilip M
2008-10-06 13:00 ` Miklos Vajna
2008-10-06 17:12   ` Dilip M
2008-10-06 19:58     ` Miklos Vajna

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 NNTP newsgroup(s).