There is a great option --patch , which can be used with git add .
Using this option, I can easily review all my changes and decide which pieces should be added to the staging area. This interactive process can be performed through all modified files.
I am looking for something like this to resolve conflicts. After rebase or merge you often get a list of both modified files.
Is there any team that:
1) help me iterate over all these both modified files? This is very annoying when I have to copy each path to a file to manually open it.
2) will automatically resolve all conflicts using HEAD / main version?
source share