master로 push를 하였고 기본 브랜치가 master로 잡혀있음
main 브랜치에 미적용 단계여서 
[Git] There isn’t anything to compare
이렇게 나옴
이전엔 default가 master였음
마스터 슬레이브라는 용어가 흑인 문화에서 인종차별적 발언이란 문제로 
master에서 main으로 바뀜... 썩을.... -_-;;

 

해결방법
git checkout master
git branch main master -f
git checkout main
git push origin main -f

 

출처: https://jeongkyun-it.tistory.com/128

 

[Git] There isn’t anything to compare 해결 방법

서론 필자가 STS를 이용하여 git commit을 하는 과정 중에 새로 원격지를 생성하여 커밋을 한 후 GitHub에서는 Pull Request는 뜨는데 들어가면 아래와 같은 문구로 뜨는 문제가 발생하였다. 어떻게 해결

jeongkyun-it.tistory.com

 

Posted by roselumi
,