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.ps1in PowerShell)
- Run
git branchto see the two branches present - Merge
Mergesort-Implintomaster - Either:
- Solve the merge conflict with your favorite editor and finish the merge (
git statuswill 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 statuswill tell you what to do)
- Solve the merge conflict with your favorite editor and finish the merge (
git branchgit mergegit statusgit mergetool --tool=emergegit mergetool --tool=vimdiffgit addgit commit