Git / Gitlab

From LinuxMCE
Jump to: navigation, search

GitLab / GIT

GitLab is the web interface of choice for managing GIT repositories.

A list of features:

Additional Info:

  • GitLab URL:

Get access to GitLab


To create an account we need following information:

  1. Name
  2. Username
  3. E-Mail


Clone repository

You have 2 options to clone a repository:



With no write access

Even if you have write access you can use this method.

  1. Fork a repository
    Git fork.png
  2. Clone your fork: git clone
  4. Commit and push your changes to your fork:
    git add . && git commit -m 'YOUR MEANINGFUL MESSAGE WITH TICKET NUMBER' && git push
  5. Make "Pull Request" for your changes.
    1. Goto your fork in Gitlab
    2. Navigate to Merge Requests -> New merge request
    3. Select the two branches in your fork and the origin repository you want to compare with. Compare by clicking Compare branches and continue
    4. Give a title and a description about what you intended to change/improve/add and click on Submit merge request

With write access

Master is only used for merge in working stuff.

  1. Clone a repository
  2. Branch of from Master
  5. Merge your changes into Master
  6. Push the verified changes to master

GitLab IRC



Following options for notifications:

  push: true
  tag_push: false
  issue: true
  note: false
  short_uri: true

To start gitlab-irc run:

/etc/init.d/gitlab-irc start

Useful links