[Error] "There isn't anything to compare" 해결 방법

밀크야살빼자·2023년 4월 13일

master로 push를 기본 브랜치가 master로 되어있어서 main 브랜치에 미적용 단계여서 "There isn't anything to compare" 문구가 나왔다.

해결 방법
git bash에

git checkout master
git branch main master -f
git checkout main
git push origin main -f
profile
이력서 : https://songhyeon.notion.site/resume?source=copy_link

0개의 댓글