git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Elfyn McBratney <beu@gentoo.org>
To: git@vger.kernel.org
Cc: Martin Langhoff <martin@catalyst.net.nz>
Subject: Re: [PATCH] Cogito README: add a block describing team workflow with git+ssh
Date: Thu, 29 Sep 2005 22:25:11 +0100	[thread overview]
Message-ID: <20050929212511.GA28106@zippy.emcb.local> (raw)
In-Reply-To: <11279754774179-git-send-email-martin@catalyst.net.nz>

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

On Thu, Sep 29, 2005 at 06:31:17 +1200, Martin Langhoff wrote:
> The README doesn't talk about teams with "peer" access to a shared repo.
> It took me a while to figure our the /right/ way to do it. Document for
> future generations and general happiness.
> 
> Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
> [...]
> 
> +        $ chgroup gitcommit /var/git

s/chgroup/chgrp/

> +        $ chmod  2775 /var/git
> +        $ mkdir -p /var/git/projectname.git
> +        $ GIT_DIR=/var/git/projectname.git git-init-db

Hmm .. if you're you're going to be using cogito anyway, might it be an
idea to instead do:

	$ GIT_DIR=/var/git/projectname.git/.git cg-init [-I]

?

> +Note: All the developers with "commit" access must belong to the gitcommit
> +group and have a 002 umask on the remote server.
> +
> +Going back to your Cogito working copy, run 
> +
> +        $ git-push  remoteserver:/var/git/projectname.git master branchname

Ditto here, tho' that'll require that remotes have been set-up, of
course. ;)

Anyhow, nice howto - thanks. :)

Best,
Elfyn

-- 
Elfyn McBratney
Gentoo Developer/Perl Team Lead
beu/irc.freenode.net                            http://dev.gentoo.org/~beu/
+------------O.o--------------------- http://dev.gentoo.org/~beu/pubkey.asc

PGP Key ID: 0x69DF17AD
PGP Key Fingerprint:
  DBD3 B756 ED58 B1B4 47B9  B3BD 8D41 E597 69DF 17AD

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

  reply	other threads:[~2005-09-29 21:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29  6:31 [PATCH] Cogito README: add a block describing team workflow with git+ssh Martin Langhoff
2005-09-29 21:25 ` Elfyn McBratney [this message]
2005-09-29 21:52   ` Martin Langhoff
2005-09-29 22:19     ` Elfyn McBratney
  -- strict thread matches above, loose matches on Subject: below --
2005-10-21  5:34 Martin Langhoff
2005-10-21 15:14 ` Petr Baudis

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050929212511.GA28106@zippy.emcb.local \
    --to=beu@gentoo.org \
    --cc=git@vger.kernel.org \
    --cc=martin@catalyst.net.nz \
    /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.
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).