Git Installation and Setup: Conflict Inside A File On Different Lines
Git Installation and Setup: Conflict Inside A File On Different Lines
there's conflict.
- call git pull and it will merge the conflicting content in diff style markers.
- call git mergetool and it will open the conflicting file(s) with the default merge
tool (e.g. vimdiff) in three-way diff view.
- merge the code between the local commit and the remote code, and save.
- clean the .orig file created by the merge tool by calling: git clean -f
- run git commit
- run git push
Change merge tool used by git:
git config --global merge.tool "araxis"