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
Solution 1:
go ahead and change the urls/paths in the config file:
.git/config
That would be the fastest way. Although you could address each branch setup with commands.
Also, please note that you would not lose any history if you were to reclone if they are in sync. You would lose your reflog and rr-cache among other things.
hope this helps.
Adam
Post a Comment for "How To Sync A Repo Mirror To A New Upstream Repo"