은 내가 자식의 repo가 (일부 파일을 삭제) 몇 가지 변경을 한 다음 최선을 다하고 다운로드. 그런 다음 나는 git checkout -b "new branch"를 수행했다. 여기 나는 파일을 삭제하지 못했지만 몇 가지 변경을하고 커밋했습니다. 지금은 다시 내 마스터 지점에 가서 new_branch_i_created 자식 병합을하려고 노력하지만 그건 말했다 : 내가 잘못 뭐하는 거지가능한 중복은 : git merge conflict를 해결하는 방법은 무엇입니까?
fatal: 'merge' is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>' as
appropriate to mark resolution and make a commit, or use 'git commit -a'.
? 내 마스터 지점에서 새로운 지점에 체크 아웃하려고하면
그리고는 말한다 : 자식에서
GDCatalog/.classpath: needs merge
GDCatalog/src/com/cyrilmottier/android/gdcatalog/CatalogActivity.java: needs merge
GDCatalog/src/com/cyrilmottier/android/gdcatalog/PagedViewActivity.java: needs merge
GreenDroid-GoogleAPIs/.classpath: needs merge
GreenDroid/.classpath: needs merge
GreenDroid/src/greendroid/widget/PagedView.java: needs merge
error: you need to resolve your current index first
어떻게 오류를 해결하는 방법은 무엇입니까? 두 번째 brach와 master 브랜치를 병합하기 위해 어떤 명령을 실행합니까? – user1667307
질문 : 'git merge'를 시도하기 전에 마지막 명령은 무엇 이었습니까? 병합 중에 병합을 방지하는 커밋되지 않은 변경 사항이나 병합 중 병합 충돌 (예 :'.git/MERGE_HEAD')이 있습니까? –