Re: rsync a *bunch* of git repos
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 10, 2012, 22:30 UTC
- Message-ID
- <7v39bn9onl.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <25207BDC675840DEA94AA2B04D6783BD@PhilipOakley>
"Philip Oakley" <philipoakley@iee.org> writes:
> I think there is an exception for certain git submodule setups with > local repos, where the gitdir link is hard coded to the absolute > machine path. There has been some discussion on the list recently > about trying to cover this case.
But if you read the original post carefully, all repositories involved are under /home before the transition, and they will move to the exact same place under /home anyway, so I do not think the discussion you have in mind would apply to this case.
The only thing that is needed after the move would be to run
git update-index --refresh
in all of the repositories, I think.