NMT CSE Wiki

Dept. of Computer Science & Engineering

User Tools

Site Tools


commons:git

GitLab

GitLab is our department Git repository which is required for many CS classes and can be used for your own use too. Git lab is pretty straight forward as long as you understand how to use git.

General Usage

You can access your GitLab account by going to git.cs.nmt.edu and logging in with you CS account by clicking the login button in the top right. Information on how to get a CS account can be found here.

Create a Repository

Cloning, Pulling, and Pushing to Gitlab

When using git the HTTPS method is not supported in favor for SSH authentication. When at the page for your repository under the name there is a textbox, in the text box is a link which you should use when running the git clone command or when referring to the repository from the git command. The link should be in the general format of git@git.cs.nmt.edu:<user>/<repository name>. If it is not in this general format click the drop down list to the left of it, SSH should be selected, if it is not select it.

By copying the link in that text box you can now clone the repository on your machine by running the following:

git clone git@git.cs.nmt.edu:<user>/<repository>

Once done you can pull and push as you were with any other git repository.

commons/git.txt · Last modified: 2019/01/09 17:36 by hashfastr