반응형
반응형

 

문제

GitHub에 push 하는 도중에 "fatal: 관계 없는 커밋 내역의 병합을 거부합니다" 에러가 발생했습니다.

 

해결

> git fetch --all # 원격 저장소의 모든 커밋을 가져옵니다.
> git reset --hard origin/master
> git push origin master
반응형

'IT' 카테고리의 다른 글

Jupyter Notebook not trusted  (0) 2023.05.06
'list' object is not callable  (0) 2023.04.23
fatal: couldn't find remote ref master  (0) 2023.04.20
You may want to try Git Large File Storage - https://git-lfs.github.com  (2) 2023.04.20
[python] sort()  (0) 2023.04.18

+ Recent posts