There are two rebasing exercises to complete.
Explanation and overview of rebasing
https://www.benmarshall.me/git-rebase/
Comparison of rebasing and merging
https://slides.com/paul_melero/git-rebase#/21/0/0
Don't be afraid to ask your line manager or a colleague for help completing these exercises
You should end up with a single consolidated readme file - this will generate conflicts that need will resolving!
In each of the branches you will find an edited readme with instructions for the rebase task. Complete each task using rebase
, then merge
these updated changes back to the trunk. Once complete submit a pull request to this repository and assign to your line manager for review!
Fork this repository to your personal GitHub account, this will copy all branches for you to work on locally, then complete the two tasks using the rebase
command (see readme on each branch for details). When complete you should merge
the TASK-X branches to the trunk branch.
At the outset the branch tree looks like this:
Once complete the tree should be a single linear commit history resembling that below
The commit history should resemble the following
REMOVE_THIS_PLACEHOLDER
Fork the repository below and follow the instructions. This time, once complete, share the forked repository with your line manager for review!
https://github.com/lineten/exemplar-workshop-git-rebase