Re: Wishlist: git fetch --reference
- From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
- Date
- Aug 22, 2014, 07:01 UTC
- Message-ID
- <1408690918.5586.3.camel@seahawk>
- In-Reply-To
- <53F6B1AB.3030706@symas.com>
On do, 2014-08-21 at 19:57 -0700, Howard Chu wrote:
> I maintain multiple copies of the same repo because I keep each one checked > out to different branch/rev levels. It would be nice if, similar to clone > --reference, we could also use git fetch --reference to reference a local repo > when doing a fetch to pull in updates.
Alternatively, you can use Duy's multiple-work-trees patches to safely make multiple checkouts of one repository. These patches are in next.
-- Dennis Kaarsemaker http://www.kaarsemaker.net