Assignment Week 5

Continue with the assignments from last week.

Assignment: Use of Git

Put your library project under version control. Create a new remote Git repository for your library project at https://repos.gbar.dtu.dk and share your project with the remote repository. The slides for this week contains the instructions on how to do this.

Develop the rest of your features by committing often (local and remotely).

You can also experiment with using feature branches, i.e., separate branches from the master branch. You can create / switch from one branch to another by using the "Team::switch to" menu. Don't forget to merge you feature branch back to the master branch often (this is an aspect of the practice "Continues Integration" of XP).

If you work in a team, then you can implement a feature on the computer of one person and on the computer of the other person. One feature is commited and pushed to master. The second feature cannot be directly committed and pushed to the master, because the branch is based on a different commit of the master. Thus, first the latest commit of the master branch needs to be pulled and then merged with the feature branch. Then the resulting new commit can be pushed to master.


On to Assignment Week 4 + 5 Part of Programming Exercise: A library application
Hubert Baumeister
April 23, 2018