This course has already ended.
You cannot submit this assignment

You need to sign in and enrol to submit exercises.

Clone the git repo

Description

This exercise guides you through the process of setting up everything so that you can submit the assignment. What we expect you have done before you submit:

  • Find your project repository in Gitlab

Detailed Instructions

1. Log into https://course-gitlab.tuni.fi/

Use your normal TUNI credentials. The university hosts course-gitlab service to facilitate your studies and research.

2. Find your project

Your project will be found from an URL like https://course-gitlab.tuni.fi/compcs200-spring/groupXX where XX is your group number in Plussa.

3. Submitting The Exercise

You can find your repository URL below the title of your project in the project page.

Copying git-URL
Copying repository URL

Submit that GitLab repository URL below to demonstrate that git repo is found, and to pass this exercise.

4. Save your SSH keys

Pulling and pushing requires your SSH keys to be saved in course-gitlab. Go to your home dir, e.g., by running command cd. In the home dir, you will find the hidden subdirectory: .ssh. Move there and copy-paste the content of id_rsa.pub (or equivalent), i.e., the public part of SSH keys to course-gitlab. If no .pub file exists yet, generate the key with the command ssh-keygen.

Here, one example in linux-desktop of how to do it via TigerVNC terminal window or via ssh

ssh niemelap@linux-desktop.tuni.fi
...
Welcome to linux-desktop3.tuni.fi

Last login: Thu May 19 20:38:22 2022 from 127.0.0.1
[niemelap@linux-desktop3 ~]$ cd
[niemelap@linux-desktop3 ~]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/niemelap/.ssh/id_rsa):
enter-enter-enter-enter ..till it does not ask any more questions
[niemelap@linux-desktop3 ~]$ cat .ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1y ...
...1y4C13FOy/HQHlX66WNCKrhW1LKJd4rmC/BT3QvBd08ikujTh9qKOcSlH niemelap@linux-desktop3

5. Clone the project locally

Select a good place for your repo in your computer, and clone it:

git clone git@course-gitlab.tuni.fi:compcs200-spring/groupXX.git

During the assignment, the team will commit their changes to the repository to grade it. The grading is done with the git url, like in this example.

The normal procedure:


git pull  //to get other members' changes
git commit -m "barchart race, stats OK" -a //-m "message to describe the changes"
// -a for all changes, you can also commit only a file or a dir
git push  //only now the changes are visible to your team members

To avoid merge conflicts, please consider using branches.

For learning git, TUNI provides a self-study course. If you want the credits for the git course, register to the course in Sisu (COMP.CS.060), too.

PLEASE NOTE: copy-paste below a URL that looks like: git@course-gitlab.tuni.fi:compcs200-spring/groupXX.git

(also known as cloning with SSH) Do NOT copy-paste a URL that starts with https://....

Posting submission...

Earned points

0 / 2

Exercise info

Assignment category
assignment
Your submissions
0 / 10
Deadline
Friday, 5 May 2023, 16:00
Late submission deadline
Sunday, 7 May 2023, 23:59 (-30%)
Group size
2-7
Total number of submitters
163