무엇이 복잡합니까 : "dev"브랜치에서 "master"브랜치로 마지막 커밋을 복사하고 싶습니다.분기에서 다른 분기로 커밋 커밋
나는이
git checkout master
git cherry-pick a6b9463bec0a5240f6e945fbf4951c932751f28d
을하고, 그리고 난 오류 얻을 :
git cherry-pick a6b9463bec0a5240f6e945fbf4951c932751f28d
error: could not apply a6b9463... releasing v1.00
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
git status
그것이 COMIT을 복사하는 복잡 이유가 표시되지 않습니다
$ git status
# On branch master
# You are currently cherry-picking.
# (fix conflicts and run "git commit")
#
# Unmerged paths:
# (use "git add <file>..." to mark resolution)
#
# both modified: index.html
# both modified: js/boardDims.js
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# config.xml.orig
no changes added to commit (use "git add" and/or "git commit -a")
제공을 다른 지점으로. 이 커밋을 master 브랜치에 복사하는 명령을 줄 수 있습니까?
감사
충돌을 해결해 보셨습니까? (힌트 :'git mergetool') – dug
네,하지만 나는 무엇이 터지는 지 이해하지 못합니다 : 3 개의 파일이 있습니다 ... – Louis
3 개의 파일로 보지 마십시오. 기본적으로 3 개의 상태 (commit1, commit2) 중 하나의 파일입니다. , 해결 후) –