reset

· 기타/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 ❌ 이전 포스트에서 본 것처럼 그냥 $ ..
M_Falcon
'reset' 태그의 글 목록