gBAR
 
GitLab offers web-based git repository management, code reviews, issue tracking, activity feeds, wikis and more. You can access our DTU GitLab portal via https://gitlab.gbar.dtu.dk/.
 
The GitLab service is available to all current students, staff and faculty with your DTU credentials. You can currently create up to 20 projects. If you want to learn Git, you can check out the wiki page on Git.
Getting started
 
Briefly outlined, here are a couple of steps to get you going:
  1. Login to the system at https://gitlab.gbar.dtu.dk/ (choose LDAP, and use your student login and password, e.g. s123456)
  2. Git is built up around the idea of using ssh keys for interaction with the repository. It's a good idea to create/add ssh keys to the system immediately. Information on how to add the ssh keys can be found at http://doc.gitlab.com/ce/gitlab-basics/create-your-ssh-keys.html.
  3. DigitalOcean has a nice write-up on how to use the GitLab user interface - check out https://www.digitalocean.com/community/tutorials/how-to-use-the-gitlab-user-interface-to-manage-projects.
  4. GitLab makes it easy to share projects between groups or move a personal project into a group project, if you have the appropriate rights in both places. Projects can also be moved between groups if the projects has expanded beyond its original purpose.
  5. Make sure you give your project a good descriptive name - i.e. something other than just "My project".
 
 
Migration from the old repos server to GitLab
 
It is possible to import an exisiting project from repository service at https://repos.gbar.dtu.dk to the new GitLab service. This section will take you through the steps involved:
 
1. Create a new project on GitLab by clicking the "New Project" button

gitlab-1

2. Fill in the name and description of the project

gitlab-2

3. Under the "Import project from" choose "Any repo by URL"

  1. You will need to know a couple of things from your existing project, specifically a user added under the project (not just your own login) and the project URL
  2. For a project "TestingGit" with the user test and password 1234 the URL will look something like http://test:1234@repos.gbar.dtu.dk/git/s123456/TestingGit.git

repos-1

4. Click "Create project", and the import will start - this step should be fairly quick, but might take some time depending on the size of the repository

gitlab-3

5. You are now ready to use your project with GitLab!

 
If you have further questions, feel free to contact the Gbar-support.
 
 

NOTICE

24
01 2017
Please note that the IT support office has been moved to the DTU library. Latex support remains in 308.
02
12 2015
Want to take advantage of the new GitLab service, or perhaps move your existing repos project over? Check out http://www.gbar.dtu.dk/faq/94-gitlab
07
04 2015
ShareLaTex We now offer ShareLatex, an online mulituser system for making LaTex documents. Check out http://gbar.dtu.dk/faq/91-sharelatex and https://www.sharelatex.com/