Difference between revisions of "GitLab"

From Cncz
Jump to: navigation, search
m
Line 22: Line 22:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
cd /tmp/
 
cd /tmp/
git svn clone --stdlayout --no-metadata -A users.txt https://svn.science.ru.nl/repos/myproject
+
git svn clone --no-metadata -A users.txt https://svn.science.ru.nl/repos/myproject
 
cd myproject
 
cd myproject
 
git remote add gitlab git@gitlab.science.ru.nl:scienceloginname/myproject.git
 
git remote add gitlab git@gitlab.science.ru.nl:scienceloginname/myproject.git

Revision as of 09:14, 29 January 2015

About GitLab

GitLab logo
GitLab

Quote from the GitLab website

GitLab is an incredibly powerful open source code collaboration platform, git repository manager, issue tracker and code reviewer.

Logging in

Navigate to:

http://gitlab.science.ru.nl GitLab is an incredibly powerful open source code collaboration platform, git repository manager, issue tracker and code reviewer. You'll see two login options:

  • Science login - for students and employees of the Science Faculty. Use your Science login.
  • Standard - for external users.

Documentation

General GitLab documentation

Migrating from Subversion

Inspired by this short manual, an SVN to git conversion could boil down to something like:

cd /tmp/
git svn clone --no-metadata -A users.txt https://svn.science.ru.nl/repos/myproject
cd myproject
git remote add gitlab :scienceloginname/myproject.git
git push --set-upstream gitlab master

Git URLs (https and ssh) are shown on the top of the project page in gitlab. The generic repository URL for the science SVN server is:

https://svn.science.ru.nl/repos/{repository}

You can also see this for public svn repositories on https://svn.science.ru.nl (viewing private repositories requires authentication).