7 Steps to Get Started with GitLab

This tutorial describes the 7 basic steps to clone a GitLab repository on local machine and then the commands to push the changes back to the GitLab environment.

  1. Register on GitLab and Create a new project.
  2. CD into the folder on your computer where you want to clone the created empty project.
  3. Run the command: git clone https://username:password@gitlab.com/username/project-name.git/ (change username, passwrod and project name).
  4. Make changes in the project folder
  5. If you want to deploy the changes then run the command: git add .
  6. Then write the commit message by running the command: git commit -am “make it better”
  7. Then to push the changes, run the command: git push origin master

Leave a Comment

Your email address will not be published.