Git
(미완성) [Git/에러] Git Push 시 에러 해결 (fatal: refusing to merge unrelated histories)
자기개발자 유자
2020. 9. 29. 22:14
728x90
반응형
서로 결합되지 않은 Git Push, Pull 시도 시 아래와 같은 에러 발생
fatal: refusing to merge unrelated histories
해결
git pull origin master --allow-unrelated-histories
--allow-unrelated-histories
명령옵션 사용하여 강제로 pull을 한다.
참고글
Git push가 안되는 경우 (fatal: refusing to merge unrelated histories)
로컬 저장소에 있는 프로젝트를 깃허브 사이트를 통해 만든 저장소로 push 하는 경우에 이런 메세지가 뜨는 경우가 있다. 1 2 3 4 5 6 7 8 C:\Users\gitProject>git push origin master To https://github.co..
gdtbgl93.tistory.com
728x90
반응형