Copy the entire repository
1
git clone --mirror <url to ORI repo> temp-dir
Or:
1
2
3
4git clone <url to ORI repo> temp-dir
git branch -a
git checkout branch-name
git fetch --tagsBefore doing the next step make sure to check your local tags
1
2git tag
git branch -aNow clear the link to the ORI repository
1
git remote rm origin
Now link your local repository to your newly created NEW repository
1
git remote add origin <url to NEW repo>
Now push all your branches and tags
1
2git push origin --all
git push --tags
Git Repository Migration
感谢支持,让我安静的做蚂蚁梦!