Re: [PATCH] Cogito README: add a block describing team workflow with git+ssh
- From
- Elfyn McBratney <beu@gentoo.org>
- Date
- Sep 29, 2005, 22:19 UTC
- Message-ID
- <20050929221926.GB13542@zippy.emcb.local>
- In-Reply-To
- <46a038f905092914524d3cd8c1@mail.gmail.com>
On Fri, Sep 30, 2005 at 09:52:11AM +1200, Martin Langhoff wrote: > On 9/30/05, Elfyn McBratney <beu@gentoo.org> wrote: > > > + $ chgroup gitcommit /var/git > > > > s/chgroup/chgrp/ > > Ooops! Thanks for catching that
Np :)
> > > + $ 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] > > You only really need git on the repo server, and I think that's a plus.
*nods*
> > > + $ git-push remoteserver:/var/git/projectname.git master branchname > > > > Ditto here, tho' that'll require that remotes have been set-up, of > > course. ;) > > Yes, the cogito way of doing this seems messy. Is there a simple way > to set up the remote branch and push to it?
Not that I know of, tho' I'm still quite new to cogito, mind. ;)
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