マージの変更点をチェックする前に、ヘッドをリセットします
質問
他の支店からgit mergeを実行した場合、いくつかの競合が起こると、マージはコミットされず、 私は
.
git reset --hard HEAD
私は再びマージをすることができますか?またはgitはマージがすでに行われていると信じますか?
解決
Your working copy will be reset to the state at HEAD, and no merge will be done. the working copy+index is at the same state is if you never had run git merge
.
You can redo the same merge afterwards.
所属していません StackOverflow