이 포스팅은 Mac 환경에서 작성되었습니다.
mkdir project-folder
git remote add origin https://github.com/user/first-repo.git
git remote add second-remote https://github.com/user/second-repo.git
git remote -v
origin https://github.com/user/first-repo.git (fetch)
origin https://github.com/user/first-repo.git (push)
second-remote https://github.com/user/second-repo.git (fetch)
second-remote https://github.com/user/second-repo.git (push)
git checkout second-remote/main
git add .
git commit -m "commit message"
git push second-remote main
git push origin main
git push second-remote main
git pull origin main
git pull second-remote main
git remote remove origin
git remote remove second-remote