Skip to Content
GitLab

Git versioning

The S(kim) operates a version and project management service for the TH OWL. The open source product GitLab is a powerful and versatile versioning software that is made available to developers and teams as a comprehensive platform for collaborating on software projects. With GitLab, you can not only manage and version code, but also efficiently control the entire development process of digital projects. This means that all processes and changes, from planning and implementation to deployment, can be transparently tracked by all project members at all times.This way, solutions to problems can be developed more quickly and collaboration is easier.

Comparison with the university's ‘Sync & Share’ service: Not only can data and documents be shared for collaborative editing. GitLab also offers options for tracking the version history of data, viewing multiple versions simultaneously and reverting to previous versions if necessary. GitLab therefore manages the editing history in real time.

This is how the documentation is structured:

Application examples

Research and teaching

The use of GitLab is helpful for research and teaching throughout the university. Version management is suitable, for example, when working together on research data and the interim status of individual researchers needs to be monitored. Research data and scripts can be versioned and stored centrally to ensure better traceability. Version management also supports research groups in sharing research data, working on joint projects in real time and tracking changes.

Application in the university: In S(kim), for example, the UFO.owl project works together with Bielefeld University of Applied Sciences (HSBi) in the area of research data in GitLab.

Application and setup

General information

Members of the TH OWL can log in to GitLab with their university username and password to create a user account. To be able to actively use GitLab afterwards, send an e-mail to [email protected] with information about your project and the users who are to be invited. For your request, please use the questionnaire that we have provided in the ‘Template for the application’ tab.

The S(kim) will create your workspace as a new group in GitLab and, if necessary, create a link to an existing parent group. After positive feedback, we ask that the specified contact persons register with the service promptly and create a user account. We can then add them directly to the group as the persons responsible. The responsible persons then have full access rights within the group and can independently add further persons or create projects.

Click here to access GitLab:

 Link to GitLab (link opens in new window)

Access to GitLab

There are two authentication options for accessing GitLab:

  • Access Token: Access Tokens are mainly used for API authentication and when working with GitLab via HTTPS. Each token can only access the resources for which the token has the rights. This works on a personal level but also for groups and projects.
  • SSH (Secure Shell Protocol) keys: SSH keys use the cryptography of private and public keys for authentication, while access tokens act like passwords but are more secure because they are not stored as plain text. SSH keys are often used for Git access (e.g. git push/git pull) and as a method for logging into GitLab.

In the following two sections you will find more information on the use of both options.

Access via access token

1. Login and settings

Logging in to GitLab

  • Go to the GitLab website and log in with your user account. (Button ‘Registration/Login’)

Access the settings

  • Click on your profile picture to open the drop-down menu.
  • Then select ‘Settings’.

Open Personal Access Tokens

  • Click on ‘Access Tokens’ in the menu on the left-hand side.

Access via SSH

1. Create and open

Creating an SSH key

If you do not yet have an SSH key, you must create one first.

  • Open a terminal (or Git Bash under Windows)
  • Enter the following command to create a new SSH key:
    ssh-keygen -t rsa -b 4096 -C ‘[email protected]
  • If you are prompted to select the location for the key, confirm with ‘Enter’ to use the default path (e.g. `~/.ssh/id_rsa`).
  • You will be asked for a ‘passphrase’. This is optional, but recommended for additional security. If you do not want to use a passphrase, simply press ‘Enter’ to skip the step.

Opening the public key

  • The public key is located in the default directory under `~/.ssh/id_rsa.pub`.
  • Open this key with a text editor to copy it: cat ~/.ssh/id_rsa.pub
  • Copy the entire content of the key (everything after `ssh-rsa` up to the end of the key).

Further links

Here you will find further links to make your work with GitLab easier:

Support, Assistance

Contact us

OSZAR »