4 ms·
There is a relatively easy way to accomplish this by editing your .git/config file to point at the new "authoritative" repo. But there is a simpler (although
by tux1968 6y ago
There is a relatively easy way to accomplish this by editing your .git/config file to point at the new "authoritative" repo.
But there is a simpler (although less efficient) method. Just simply git clone the new repository onto any machine you want. The clones will naturally be configured to point to that new repository as their upstream.
- galgalesh 6y agoYou don't need to change config files. `git remote rm origin` `git remote add origin new-url`