fatal: refusing to merge unrelated histories

    [Error fix] 'fatal: refusing to merge unrelated histories' git 오류 해결

    # 문제 상황 로컬 저장소에 있는 프로젝트를 깃허브 사이트를 통해 만든 저장소로 push 하는 경우에 다음과 같은 메시지가 떴다. % git pull origin master From https://github.com/DrawingProcess/docker-compose * branch master -> FETCH_HEAD fatal: refusing to merge unrelated histories # 해결 방안 push 전에 먼저 pull을 해서 프로젝트를 병합해 주어야 한다. refusing to merge unrelated histories 그런데 pull을 실행시켰는데, 위와 같은 오류와 함께 진행되지 않는다면? 다음의 명령어를 실행시켜준다. % git pull origin --allow-un..