상추의 IT저장소

Git) There isn’t anything to compare 해결 방법 본문

error

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

구너상추 2023. 1. 10. 16:23

- 기본 브랜치가 main으로 잡혀있는데 master로 push를 하여 해당 오류가 발생하였다.

 

- git branch main master -f 명령어를 통해 강제로 commit 한다.

 

참조 : https://jeongkyun-it.tistory.com/128