conflict

· 기타/git
🔒 문제 상황 git push를 하려니 (non-fast-forward) 에러 메시지가 나왔다. 아래와 같은 메시지를 봤다면 이 글을 잘 찾아왔다. "Push was rejected, and update failed with an error" error: failed to push some refs to [git-repository-url] hint: Updates were rejected because the tip of your current branch is behind 직역하면 현재 당신의 브랜치 일부가 origin 브랜치의 뒤에 와있다는 뜻이다. 상세하게 분석해보기 위해 sourcetree 를 살펴봤다. 💡 아이디어 해결 방안 1. push --force ❌ 이전 포스트에서 본 것처럼 그냥 $ ..
· 기타/git
🔒문제 원인 'pull' 하지않고 Push하기 때문에!! Pull 하지않으면 Working Directory, Local Repository에 담기지도 않은 Commit 내용을 Push하라고 하는 것과 같음. 이러면 당연히 git 입장에서는 띠용임. ?? commit이랑 push 메시지는 있는데 원본 파일이 Working Directory, Local Repository에 없네? 문제상황 1 git push 명령어 입력시 Error: Failed to push some refs to 'git address' (Hint: git pull) before pushing again. 힌트에서 시킨대로 push 전에 먼저 pull을 해서 프로젝트를 병합해 주자. File Sync를 맞춰주기 위한. git pull..
M_Falcon
'conflict' 태그의 글 목록