What you should do is to:
-
Clone this repo into your computer
-
Make a new commit that replaces
SWPPfromhello.cppwith your github id, so it prints:
make
./hello
Hello, my name is <your Github ID>
The commit message should be "Update hello.cpp".
- This repo has three branches:
master,bugfix,usemap. Checkout the existingbugfixbranch usinggit checkoutcommand. Then, rebase it ontomasterusinggit rebasecommand. See following diagram.
*----------* master
\
\
--------* bugfix
==> (after rebase)
*----------* master
\
\
--------* bugfix
-
Checkout
masterand mergebugfixintomasterusinggit mergecommand. Thanks to the rebase done before, there will be no merge commit created. -
On top of that, merge the existing
usemapbranch again. This causes a merge conflict; please fix it carefully. (When you commit the fix, please do not edit the commit message which will be e.g.,Merge branch 'usemap'.)
NOTE: You should carefully see why it causes merge conflict. To do this, you
need to understand what usemap branch did.
- Check that
make; ./check.shworks successfully. :)
After this, git log --oneline at master branch should show the commits
including bugfix/usemap commits, "Update hello.cpp" commit,
and a merge commit.
git log --oneline --no-merges should hide the merge commits.
./package.shwill create an archivesubmit.tar.gz. Submit this archive to eTL.