Re: [PATCH] Cogito README: add a block describing team workflow with git+ssh
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Sep 29, 2005, 21:52 UTC
- Message-ID
- <46a038f905092914524d3cd8c1@mail.gmail.com>
- In-Reply-To
- <20050929212511.GA28106@zippy.emcb.local>
On 9/30/05, Elfyn McBratney <beu@gentoo.org> wrote:
> > + $ chgroup gitcommit /var/git > > s/chgroup/chgrp/
Ooops! Thanks for catching that
Show 8 quoted lines
> > + $ 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.
> > + $ 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?
cheers,
martin