깃 클론한 프로젝트 내 다른 레포지토리에 따로 저장하는 방법
git remote set-url origin 새로운 레포지토리 주소
근데 새로운 레포지토리 만들 때 READ.md 파일이 있어서
근데 리드파일 안 만드니까 code 탭 들어가면 정상적으로 안 보임.
push 할 때 안되면
git push -f origin main
[오류 정보]
PS D:\personal\Tomorrow-House> git push origin main To https://github.com/CASSIE1107/Tomorrow-House-staticData.git ! [rejected] main -> main (fetch first) error: failed to push some refs to 'https://github.com/CASSIE1107/Tomorrow-House-staticData.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. PS D:\personal\Tomorrow-House>