호랑이 개발일기
[ git ] fatal: refusing to merge unrelated histories 해결
로컬 저장소의 프로젝트를 GitHub에서 만든 원격 저장소에 Push를 하려고 할 때 $ git push origin main To github.com:somjang/test-repo.git ! [rejected] main -> main (non-fast-forward) error: failed to push some refs to 'github.com:42maru-ai/hanmi-broker-api.git' 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 ...') bef..
Git & Github
2023. 3. 16. 10:25