🤝GitHub

git push 오류 해결하기 [HEAD]

코너(Corner) 2020. 11. 13.
반응형

 

git push 하게되면 upstream 관련한 문구가 뜸 

fetal: The upstream branch of your current branch does not match the name of your current branch.

To push to the upstream branch on the remote, use

 

:: 해결 ::

branch가 main인 경우

git push origin HEAD

 

 

branch가 master 이면

git push origin HEAD:master

반응형

댓글