Difference between revisions of "GitLab"
Jump to navigation
Jump to search
m |
|||
Line 18: | Line 18: | ||
== Migrating from Subversion == | == Migrating from Subversion == | ||
− | Inspired by [https://gist.github.com/leftclickben/322b7a3042cbe97ed2af| this short manual], | + | Inspired by [https://gist.github.com/leftclickben/322b7a3042cbe97ed2af| this short manual], an SVN to git conversion could boil down to something like: |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |
Revision as of 00:58, 29 January 2015
About GitLab
Logging in
Navigate to:
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
Migrating from Subversion
Inspired by this short manual, an SVN to git conversion could boil down to something like:
cd /tmp/
git svn clone --stdlayout --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).