
Published 2023. 9. 20. 20:50
728x90
반응형
git push 했을 때 아래의 에러 뜨는 경우
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
원인
로컬 브랜치가 현재 원격 브랜치보다 뒤쳐져 있어 발생하는 에러
해결 방법
원격 브랜치의 변경사항 가져오기
git pull origin [해당 브랜치 명]
이후 충돌이 있다면 해결 후 push
반응형
'형상관리 > Git' 카테고리의 다른 글
[Git] github 토큰 발급 (0) | 2023.09.21 |
---|---|
[Git] push 한 commit 삭제 (0) | 2023.08.25 |
[Git] git stash 명령어 (0) | 2023.06.21 |
[Git] 충돌 오류로 stash pop 안되는 경우 (0) | 2023.06.13 |
[Git Error] git push error 해결 방법 (0) | 2023.04.26 |