Question

Que se passe-t-il si je fais une fusion de git d'une autre branche, certains conflits se produisent, la fusion ne se fait pas commitée et alors je fais

git reset --hard HEAD

Puis-je faire la fusion de nouveau?ou Git va croire que la fusion est déjà faite?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top