Difference between revisions of "Gitlab Social Sciences"

From TSG Doc
Jump to navigation Jump to search
Line 49: Line 49:
 
* Document code together
 
* Document code together
  
The Gitlab server is available for all users, from anywhere in the world, provided they have a RU or external<ref>To request an account for external users, see [[Gitlab Social Sciences#External Users]] </ref>
+
The Gitlab server is available for all users, from anywhere in the world, provided they have a RU or external<ref>To request an account for external users, see [[Gitlab Social Sciences#External Users | External Users]] </ref> accounts.
  
 
==Requirements==  
 
==Requirements==  

Revision as of 14:39, 4 March 2016

Gitlab Community Edition
Wm no bg.svg
Development statusActive
Written inRuby
PlatformMicrosoft Windows, MacOSX, Linux
LicenseMIT License
Websitewww.gitlab.com
Downloads
Manuals


Features

GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis.

With Gitlab you can:

  • Create code together
  • Review code together
  • Deploy code together
  • Document code together

The Gitlab server is available for all users, from anywhere in the world, provided they have a RU or external[1] accounts.

Requirements

  • For more information about usage requirements for various operation systems you can click here

User Login

You can logon on the environment with your University number or student number and password.

https://gitlab.socsci.ru.nl

External Users

You can send a request with the following information to Johannes Keyser (DCC) or Eric Lieffers (ISC)

Username
Email adres
Full Name

Configuration

Command Line Instructions

Git Global Setup

$ git config --global user.name "username"
$ git config --global user.email "email address"


Create a new repository

$ mkdir newproject
$ cd newproject
$ git init
$ touch README.md
$ git add README.md
$ git commit -m "first commit"
$ git remote add origin git@gitlab.socsci.ru.nl:username/newproject.git
$ git push -u origin master

Push an existing Git repository

$ cd existing_git_repo
$ git remote add origin git@gitlab.socsci.ru.nl:username/newproject.git
$ git push -u origin master
  • You can also create a new project within the webinterface in Gitlab.
  • Within the project on the webinterface you will also find the command line instructions.

Accepting new SSH key (only for some users with existing repository)

Some users will see the following message when they want to make a remote connection with SSH. (existing repository) When you see the below message you will need to say yes.

$ Warning: the ECDSA host key for 'smlgitlab.socsci.ru.nl' differs from the key for the IP address 'x.x.x.x'
$ Offending key for IP in /home/user/.ssh/known_hosts:23 Matching host key in /home/user/.ssh/known_hosts:13 
$ Are you sure you want to continue connecting (yes/no)? yes

Remote SSH connection should be established.

Git Clients

You can find the git clients for various operating systems here

Documentation

Git Documentation

For Git documentation click here

GitLab Documentation

For step-by-step tutorial click here

Video Tutorial

Or you can watch the following tutorial on the following youtube video.

{{#ev:youtube|https://www.youtube.com/watch?v=7p0hrpNaJ14}}

Contact

For techincal issues you can contact Eric Lieffers (Server Administrator)

References

  1. To request an account for external users, see External Users

External Links