📌  相关文章
📜  从 bitbucket 到 github 的 repo - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:53.832000             🧑  作者: Mango

代码示例1
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