Re: [PATCH] Cogito README: add a block describing team workflow with git+ssh
- From
- Elfyn McBratney <beu@gentoo.org>
- Date
- Sep 29, 2005, 21:25 UTC
- Message-ID
- <20050929212511.GA28106@zippy.emcb.local>
- In-Reply-To
- <11279754774179-git-send-email-martin@catalyst.net.nz>
On Thu, Sep 29, 2005 at 06:31:17 +1200, Martin Langhoff wrote:
Show 8 quoted lines
> 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]
?
Show 6 quoted lines
> +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