Git – How to transfer or move repository between accounts
Some times you may need to move your git repository to another account, even between providers such as, github.com, butbucket.org, gitlab.com or even to your own git server. Pre-Requirements Write access to Both the repositories. Say my-old-repo and my-new-repo . Steps git clone –bare [email protected]:oldaccount/my-old-repo.git cd my-old-repo.git git push –mirror [email protected]:newaccount/my-new-repo.git cd .. rm -rf […]
Git – How to transfer or move repository between accounts Read More »
