Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Latest commit

 

History

History
43 lines (28 loc) · 1.07 KB

File metadata and controls

43 lines (28 loc) · 1.07 KB

Using gitlab

Registration page

After logging in as your newly-created user you can create a new project.

Create project

Once a project has been created you'll be asked to add an SSH key for your user.

To verify that your key is working correctly run:

ssh -T [email protected] -p 30022

Which should result in:

Welcome to GitLab, <user>!

Note: Remember you need to have modified your hosts file to use the URL provided, otherwise you'll need to use the node's IP address as described here.

Now you can clone your project.

git clone ssh://[email protected]:30022/<user>/<project name>

Add a file and commit:

echo "Gitlab project" > README.md
git add README.md
git commit -a -m "Initial commit"
git push origin master

You can now see it in the Gitlab UI.

Repo

If you want to use http URLs for cloning and pushing to a public repository on GitLab, that`s enabled as well.