次のペーストビンは、各行に 1、2、3、4、5 と入力された 1 つのファイルを含むレポです。
各行は個別に git にコミットされました。
http://pastebin.ca/raw/2136179
次に、コマンドで2行目を削除しようとしましたgit revert <commmit which creates two>
そして得る:
error: could not revert b4e0a66... second
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'
こんなに単純なものに衝突があってはならないのですか?または、私はそれを間違っている/間違ったコマンドを取得していますか?
マージの詳細も意味がないようです:
one
<<<<<<< HEAD
two
three
four
five
=======
>>>>>>> parent of b4e0a66... second
それは、1つを除いてすべてを削除すると言っているのではありませんか? 影響を受けるのは2人だけだと思っていた...
git 1.7.10