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:
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 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
Copy paste starting from ssh-rsa till the very end.
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.