[Git error] fatal: refusing to merge unrelated histories 해결
2024. 1. 22.
로컬 저장소의 프로젝트를 git 원격 저장소에 push하려고 할 때 error: failed to push some refs to '깃허브 주소' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. git pull.. 이라고 봐선 pull이 안 된 것이 문제일 것 같은데, 이는 깃허브에서 저장소 ..