マージの変更点をチェックする前に、ヘッドをリセットします

StackOverflow https://stackoverflow.com/questions/9524367

  •  15-11-2019
  •  | 
  •  

質問

他の支店から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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top