- I run
git merge
- the Auto merge fails and I get conflict
- I change the file (to solve the conflict)
how to revert to 2 on a specific file without loss the other changed I make
git merge
how to revert to 2 on a specific file without loss the other changed I make
To get the file into the original conflicted content after merge?
git checkout -m -- path-to-file
Don't know if git restore
can do it as well.