git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Elfyn McBratneyNext: Elfyn McBratney
Message 3 of 4 in “Cogito README: add a block describing team workflow with git+ssh”
  1. Cogito README: add a block describing team workflow with git+sshMartin Langhoff, Sep 29, 2005
  2. Elfyn McBratneySep 29, 2005
  3. Martin LanghoffSep 29, 2005
  4. Elfyn McBratneySep 29, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.