How to resolve merge conflicts in a git repo in case of evil merges. When we want to resolve conflicts merge we have 4 options:
- Accept current change
- Accept incoming change
- Accept both changes
- Do it manually
But in real projects,we need to add new code lines which do not appear in any parent branches(evil merges) I know this is not recommended but sometimes you're forced to introduce something new. What's the best solution/practice to resole conflicts in this case?