📅  最后修改于: 2022-03-11 14:50:37.649000             🧑  作者: Mango
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