Domanda

Che cosa succede se faccio un fusione di git da un altro ramo, si verificano alcuni conflitti, l'unione non viene impegnata e Then I Do

git reset --hard HEAD
.

Posso fare di nuovo l'unione?o ritenerà a ritenere che l'unione sia già finita?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top