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?