This happens when 2 branch merge the same piece of code in Source code
- git diff
- git merge —abort
- Action: This overall abort the merging
- Note: The git reset command is used to reset the changes made in the working tree of a repository. The git reset command changes the indexing as well as the working tree. We can also use the git reset command to abort a git merging.