Pregunta

In magit during a manual merge, sometimes there are files with many changes and I want to accept either all my changes, or all the changes in the other branch, rather than select them one by one. Is there a way to do that within magit, or if not from the git command line?

¿Fue útil?

Solución

Yes, for one file during the merge you can:

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