[Git] ![rejected] main -> main (non-fast-forward) 해결방법

최대 1 분 소요

[Git]: ![rejected] main -> main (non-fast-forward) 해결방법

Git push를 하려고 하는데 에러가 났다.

git status할땐 이상이 없었는데…원인은 더 찾아봐야겠다!!

해결방법

push 하려고 하는 브랜치 이름 앞에 +를 붙여 push 하면 된다.

git push origin +main

댓글남기기