I was a bit tired of explaining that git rebase -i default behaviour didn't work in the exercise because there is no origin/master to go back to, so I fixed it. I figured there are other exercises that will need support for "remotes" so I made the improvement generalised by adding to the utils scripts.
This PR only contains the Shell scripts and changes to the reorder-the-history exercise.
I have made similar additions to the Powershell scripts, but it seems they are still buggy (as testen in a Docker container on my mac), so I left them out of this PR.
I was a bit tired of explaining that
git rebase -i
default behaviour didn't work in the exercise because there is noorigin/master
to go back to, so I fixed it. I figured there are other exercises that will need support for "remotes" so I made the improvement generalised by adding to the utils scripts.This PR only contains the Shell scripts and changes to the reorder-the-history exercise. I have made similar additions to the Powershell scripts, but it seems they are still buggy (as testen in a Docker container on my mac), so I left them out of this PR.