I am trying to move only the contents of one repository (repo1
) to another existing repository (repo2
) using the following commands:
git clone repo1
git clone repo2
cd repo1
git remote rm origin
git remote add repo1
git push
But it's not working. I reviewed a similar post, but I only found one moving the folder, not the contents.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…