how to sync a repo mirror to a new upstream repo
问题 I have a repo mirror server (myrepo) that was originally created to mirror and sync with a remote (repoA). That is, I used something like the following to create it. cd myrepo repo init -u git://repoA-server/manifest.git --mirror repo sync ...then I modified manifest file's fetch line to use myrepo server so users can clone from myrepo mirror So now repoA is gone and doesn't exist anymore. It has been replaced with a new repoB server at a different URL which has modified some of the branches