📜  如何将 git clone 移动到另一个 git repo - Shell-Bash 代码示例

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

代码示例1
cd repo2
git checkout master
git remote add r1remote **url-of-repo1**
git fetch r1remote
git merge r1remote/master --allow-unrelated-histories
git remote rm r1remote