Branches chen and bob has edit conflict on hello.txt and bye.txt.
They are not merged to master branch yet.
Branch indent-only only change white spaces of certain line.
- Clone this repository and enter the folder
- Type
git fetch --all && git branch -ato see all branches including remotes
- Go to
masterbranch and make sure it’s in original status - Type
git merge origin/bob && git merge origin/chen. This will cause conflicts. - Make sure your mergetool is configured, e.g. in
~/.gitconfig. - Type
git mergetoolto test your setup.
- Go to
masterbranch and make sure it’s in original status - Type
git merge origin/indent-only && git merge origin/chen. This will cause conflicts. - Make sure your mergetool is configured, e.g. in
~/.gitconfig. - Type
git mergetoolto test your setup. - Go back to the first step. This time try run
git merge -Xignore-all-spaceinstead