repository on GitHub. In these examples, go1hub/util git clone --bare [email protected]:go1com/util.git cd util.git git push --mirror [email protected]:go1hub/util.git cd .. rm -rf util.git
util [email protected]:go1hub/util.git git fetch util git merge --allow-unrelated-histories util/master # or whichever branch you want to merge git remote remove util If you want to merge go1hub/util into go1hub/util_core The --allow-unrelated-histories parameter only exists since git >= 2.9