Pregunta

¿Qué sucede si hago un git se fusiona de otra rama, ocurren algunos conflictos, la fusión no se compromete, y entonces hago

git reset --hard HEAD

¿Puedo volver a hacer la fusión?¿O hará que Git creerá que la fusión ya está hecha?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top