What you should do is to:
-
Clone this repo into your computer
-
Make a new commit on the
main
branch that replacesSWPP
fromhello.cpp
with your github username, so it prints:
make
./hello
Hello, my name is <your Github username>
The commit message should be "Update hello.cpp".
- This repo has three branches:
main
,bugfix
,usemap
. Checkout the existingbugfix
branch usinggit checkout
command. Then, rebase it ontomain
usinggit rebase
command. See following diagram.
*----------* main
\
\
--------* bugfix
==> (after rebase)
*----------* main
\
\
--------* bugfix
-
Checkout
main
and mergebugfix
intomain
usinggit merge
command. Thanks to the rebase done before, there will be no merge commit created. -
On top of that, merge the existing
usemap
branch 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.sh
works successfully. :)
After this, git log --oneline
at main
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.sh
will create an archivesubmit.tar.gz
. Submit this archive to eTL.