In this kata you will be facing your first merge conflict! There will be two different branches:
- Mergesort-Impl
- master
The task is to look at the merge conflict, and solve it by editing the file accordingly.
- Run
source setup.sh
(or.\setup.ps1
in PowerShell)
- Run
git branch
to see the two branches present - Merge
Mergesort-Impl
intomaster
- Either:
- Solve the merge conflict with your favorite editor and finish the merge (
git status
will tell you what to do), or - Use
git mergetool --tool=emerge
(for emacs fans) orgit mergetool --tool=vimdiff
(for vim fans) and finish the merge (git status
will tell you what to do)
- Solve the merge conflict with your favorite editor and finish the merge (
git branch
git merge
git status
git mergetool --tool=emerge
git mergetool --tool=vimdiff
git add
git commit