Branches chen
and bob
has edit conflict on hello.txt
and bye.txt
.
They are not merged to main
branch yet.
- Clone this repository and enter the folder
- Type
git branch -a
to see all branches including remotes - Type
git pull origin bob
. - Type
git pull origin chen
. This will already causeCONFLICT (content): Merge conflict in hello.txt
. - Make sure your mergetool is configured, e.g. in
~/.gitconfig
. - Type
git mergetool
to test your setup.