Answers for "how to move git clone to another git repo"

0

how to move git clone to another git repo

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
Posted by: Guest on August-17-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language