Version Control with GitLab
GitLab allows you to create virtual groups (without the help of administrators) that can work on one or more projects (e.g. involving students or even multiple employees), create private or public software repositories, and keep track of changes and the amount of work done. The projects of GitLab can be private and public.
- Private - the content of the project is only visible to the team you choose.
- Public – all internet.
GitLab is also accessible from other subnets, so you can use it outside VU MIF.
A typical usage scenario is hosting your research paper (e.g. written in LaTeX) or software code, working together with students, PhD students or researchers, simple version/change management and exchange of updates.
To start successfully you need:
- Log in to the system as a MIF user;
- Create your first project and team of collaborators;
- Add your public ssh-rsa key to git;
NOTE: Linux servers already have git installed. There is also a plugin for Netbeans or Eclipse development environments available for download.
For additional information we suggest to read:
- Brief introduction for users: http://stackoverflow.com/questions/315911/git-for-beginners-the-definitive-practical-guide
Migrating Your Project to the New GitLab
- Log in to the new GitLab: https://git.mif.vu.lt/.
- In the old version, change the Public Clone Access settings of the project you want to migrate (select in the checkbox).
- In the new GitLab press New project.
- Then choose Repo by URL.
- After you finish to change the settings you want, press Create project.
- Wait until the project imports (may take up to several minutes).
- In the old version of GitLab, return the Public Clone Access settings you need to.