Re: [PATCH] Cogito README: add a block describing team workflow with git+ssh

From: Elfyn McBratney <beu@gentoo.org>
Date: 2005-09-30 07:25:11
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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Fri Sep 30 07:25:48 2005

This archive was generated by hypermail 2.1.8 : 2005-09-30 07:25:52 EST