Re: [PATCH] Allow fetching from multiple repositories at once
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 28, 2006, 08:51 UTC
- Message-ID
- <Pine.LNX.4.63.0607281045430.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20060728054341.15864.35862.stgit@machine>
Hi,
On Fri, 28 Jul 2006, Petr Baudis wrote:
Show 5 quoted lines
> This patch enables fetching multiple repositories at once over the Git > protocol (and SSH, and locally if git-fetch-pack is your cup of coffee > there). This is done especially for the xorg people who have tons of > repositories and dislike pulls much slower than they were used to with CVS. > I'm eager to hear how this affects the situation.
So the scenario is: one remote repository (probably shared), and multiple local repositories, all tracking different branches?
So, why not setup a single local (master) repository, setup all the other repos with the local master as alternate, and write a simple script which first fetches all branches into the master, and then pulls into the other local repos from that master?
The beauty of it is: you can still pull/push directly from the remote repo, if you want.
Ciao, Dscho