개발 잘 하고 싶다 => 알고 쓰자/ERROR(삽질) 모음

[Git] Updates were rejected because the tip of your current branch is behind

장 상 현 2021. 12. 3.

Updates were rejected because the tip of your current branch is behind

Updates were rejected because the tip of your current branch is behind

 

기존에 생성한 원격 저장소 브랜치가 남아있기 때문에 발생한 에러.

 

git branch -D 브랜치명

 

로컬 브랜치 삭제

 

git push origin --delete 브랜치명

 

원격 저장소 브랜치 삭제

 

 

해-결

댓글