micmic123 / swpp202001-assn1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWPP, Assignment 1: Merging Branches

What you should do is to:

  1. Fork this repo & clone the repo into your computer

  2. Make a new commit that replaces aqjune from hello.cpp with your github id, so it prints:

make
./hello
Hello, my name is <your Github ID>

The title of the commit should be "Use my github id at hello.cpp".

  1. This repo has three branches: master, bugfix, usemap. Merge the existing bugfix branch into master using git merge command.

  2. On top of that, merge the existing usemap branch again. This causes a merge conflict; please fix it carefully.

NOTE: You should carefully see why it causes merge conflict. To do this, you need to understand what usemap branch did.

  1. Check that make; ./check.sh works successfully. :)

After this, git log --oneline at master branch should show the commits including bugfix/usemap commits, "Use my github id at hello.cpp" commit, and merge commits.

git log --online --no-merges should hide the merge commits.

  1. Push your master branch to your github repo, and submit your repo link to https://forms.gle/R8pSyzrXuLhUPs187 .

About


Languages

Language:C++ 76.6%Language:Makefile 16.1%Language:Shell 7.3%