728x90
728x90
[GitHub] merge 충돌 발생 시 Resolve conflicts 비활성화 시 (branch conflicts)
트러블슈팅2023. 4. 14. 06:56[GitHub] merge 충돌 발생 시 Resolve conflicts 비활성화 시 (branch conflicts)

발생 경위 팀원의 작업물을 병합하는 과정에서 충돌이 발생했는데 Resolve conflicts 버튼이 비활성화되어 있어 난감했다. 활성화 되어 있으면 그냥 클릭해서 코드를 수정해서 머지하면 되는데.. 에러 원인 충돌 범위가 너무 많아 시스템이 충돌 범위를 헤아리기 어려워 비활성화가 된 것이라고 한다. 해결 1. 깃허브에서 제공해주는 아래의 안내 메세지를 따라간다. 봐도 잘 모르겠다. 그래서 검색해서 쉬운 방법을 찾아 해결 - Git Desktop을 활용 1. Git Desktop에서 Branch - Merge into current branch 클릭. 2. 충돌 난 녀석을 선택한 후 Create a merge commit 선택 하면 충돌난 파일을 불러올 수 있어서. 충돌 코드를 수정한 뒤 merge하면 끝

Git push 에러(Updates were rejected because the tip of your current branch is behind its remote..)
트러블슈팅2023. 3. 28. 00:46Git push 에러(Updates were rejected because the tip of your current branch is behind its remote..)

hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. push시에 위와 같은 에러가 발생했다. push 전 pull을 통해 리파지토리의 최신..

728x90
728x90
image