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

Git repository mesh?

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 25, 2009, 04:07 UTC
Message-ID
<fcaeb9bf0911242007t1294bddej87b48691ea283e21@mail.gmail.com>
Hi,

I work on a few machines so I have repositories on all of them. One repository can pull from or push to any other repositories (in case of push, it pushes on remote branches). I avoid a central repository because it's quite inconvenient when you just need to push some changes to a machine, you have to push it to the central repository then pull from that (and if the central repository is on WAN, double inconvenient). Maybe this model is just plain wrong, but it'd be fun to see if Git can work with this model.

The first thing that annoys me is remote repository management. Everytime I add a new repository to the mesh, I need to update .config of all repositories. Putting part of $GIT_DIR/config into working directory may help (though there will be security concerns, perhaps only remote.* should be allowed in in-tree config file). Next thing is sometimes I want to see how many commits ahead/behind other repositories, from a repository. "git status" does not help much. Never used Mercurial but the idea of "git in" and "git out" to see how many commits ahead/behind would be nice.

Has anyone done something like this? Any suggestions? -- Duy

Next: Matthieu Moy
Message 1 of 9 in “Git repository mesh?”
  1. Nguyen Thai Ngoc DuyNov 25, 2009
  2. Matthieu MoyNov 25, 2009
  3. Nguyen Thai Ngoc DuyNov 25, 2009
  4. Matthieu MoyNov 25, 2009
  5. Nguyen Thai Ngoc DuyNov 25, 2009
  6. Jakub NarebskiNov 25, 2009
  7. Matthieu MoyNov 25, 2009
  8. SergioNov 25, 2009
  9. Alex RiesenNov 25, 2009

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.