git pull 오류1 [1분만에 해결하는 Git 오류] fatal: refusing to merge unrelated histories 문제 상황git push나 git pull 명령 시 fatal: refusing to merge unrelated histories 오류가 발생한다.문제 원인git에서는 서로 관련 기록이 없는 이질적인 두 프로젝트를 병합할 때 기본적으로 거부한다.--allow-unrelated-histories 옵션을 사용하여 이를 강제로 허용해주어야 한다. 문제 해결git pull 명령 뒤에 --allow-unrelated-histories 옵션을 추가해준다.git pull origin 브랜치명 --allow-unrelated-histories 2024. 12. 11. 이전 1 다음