📅  最后修改于: 2022-03-11 14:51:14.108000             🧑  作者: Mango
git remote add
git fetch
# check to see whether remote is available with
git remote -v
git checkout -b
# move all the files into a subdirectory so there aren't any conflicts with names (git mv)
git commit -m "moved"
git checkout master
git merge --allow-unrelated-histories
# cleanup everything with:
git remote rm
git branch -d
# check to see whether everything is correct with:
git remote -v
git branch -a -v
git status
git push