📅  最后修改于: 2022-03-11 14:50:53.832000             🧑  作者: Mango
cd $HOME/Code/repo-directory
# Rename Origin to bitbucket
git remote rename origin bitbucket
# Add the origin of your new github repository
git remote add origin https://github.com//.git
# Push ypur branch master to your github repo
git push origin master
# Remove the old origin
git remote rm bitbucket