Assignments git#

git exercise 1: a typical workflow for a 1 person project#

“due date”: 27.03.2023

  1. Don’t forget to setup git as explained here: https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup

  2. Create an account on one of:

    Take your decision on the platform based on what you want the account for, and the topics we have discussed in class. If you are not sure, simply use git.uibk.ac.at (this is what we will use for exercise 2 anyways).

  3. Create a new repository of your choice online. Name it what you want (test something)

  4. Clone it locally on your laptop

  5. Add one file or two, add some content to the files. Commit them.

  6. Changes the files a bit more, commit again.

  7. Now push the changes to your online repository.

  8. Online now, edit one of the files with the online editor. Commit the changes online.

  9. Pull the changes locally, so that the changes that happened online are now available locally.

That’s it! You’ve already learned a bunch about git with only just this workflow!

git exercise 2: a typical workflow for a team project#

“due date”: 27.03.2023

We learned how to do a “merge request” in class. Your tasks this week are to:

  1. set-up git to work without a password (I recommend SSH but find the documentation that works for you).

  2. open a merge-request in https://git.uibk.ac.at/acinn/icu/advpro_ss23. Your task is to add your bio to the participants folder (follow my example: you need to add a file), and link it in the PARTICIPANTS file.

  3. I will review it on Monday and you will have a little more to do ;-)