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

Really happy with cogito for inhouse teamwork, now that I've figured out cg-clone...

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Sep 29, 2005, 05:58 UTC
Message-ID
<46a038f905092822587f5414d4@mail.gmail.com>

Just wanted to mention something that isn't in Cogito's readme, and has been crucial in making our use of cogito straightforward.

We've made the transition a few weeks ago, and we've been _really_ happy with git/cogito (over cvs and tla, our "other" SCMs). Whoever, there was something we all found ackward in how we did clone/pull/push.

The _right_ way to do for a team with git-over-ssh is:
Doing the checkout the 'right' way:
 $ cg-clone git+ssh://locke.catalyst.net.nz/var/git/project.git#branchname
localdirname
Work cycle:
 # work work work
 $ cg-commit
 $ cg-update
 $ cg-push

The README doesn't talk about teams with "peer" access to a shared repo. So I fumbled about and we were doing cg-clone using rsync (rsync protocol or over ssh), or just straight http. This made pushing back to the repo impossible with Cogito. So we were calling git-push directly, with the risk of pushing to the wrong head (only really risky for two very closely related heads, but still).

Now, I should put this into a patch to Cogito's README.... give me 5'...
martin
Next: Josef Weidendorfer
Message 1 of 2 in “Really happy with cogito for inhouse teamwork, now that I've figured out cg-clone...”
  1. Martin LanghoffSep 29, 2005
  2. Josef WeidendorferSep 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.