728x90
이 문제가 발생하는 경우는 나의 local과 remote의 파일 불일치 때문이다. 따라서 git pull [원격 저장소 별칭:origin ] main 는 당겨와서 병합해준다고 생각하면된다. 그리고 git push origin main 마무리 해주면 끝!!
728x90
'git' 카테고리의 다른 글
git stash 방법 (0) | 2024.06.10 |
---|---|
다른 컴퓨터 사용시 local branch가 remote branch를 tracking하지 못할 경우 (0) | 2024.06.02 |
Updates were rejected because the tip of your current branch is behind (0) | 2024.01.20 |
git 명령어 사용법 (0) | 2023.12.26 |
On branch master nothing to commit, working tree clean (2) | 2023.12.23 |