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

Re: RFC: git sync

From
Sergio <sergio.callegari@gmail.com>
Date
Feb 10, 2010, 16:39 UTC
Message-ID
<loom.20100210T173300-230@post.gmane.org>
In-Reply-To
<m3wryl8lkp.fsf@localhost.localdomain>
> Why not use the recpie from GitFaq:
> "How would I use "git push" to sync out of a host that I cannot pull from?"
>
http://git.wiki.kernel.org/index.php/GitFaq#How_would_I_use_.22git_push.22_to_sync_out_of_a_host_that_I_cannot_pull_from.3F
> 

Hi, to follow that recipe with more than one satellite, all sharing the same config, it would be just great to be able to put $hostname in .git-config, e.g.

[remote "mothership"]
   url = <url>
   push = master:refs/remotes/$hostname/master
Would there be any potential problem with that?
Previous: Jakub NarebskiNext: Larry D'Anna
Message 3 of 4 in “RFC: git sync”
  1. Larry D'AnnaFeb 10, 2010
  2. Jakub NarebskiFeb 10, 2010
  3. SergioFeb 10, 2010
  4. Larry D'AnnaFeb 10, 2010

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.