I. How to use GitLab

Go to website GitLab (https://gitlab.com)

  • Step 1:
    • We have to add SSH key to your profile
  • Step 2:
    • Right click on any directories on your local computer
    • Step 3:Please follow this step after you signup on Gitlab:
      • Generate key on Git Bash:
        ssh-keygen -t rsa -C “your.email@example.com” -b 4096
      • On Windows DOS Prompt:
        type %userprofile%\.ssh\id_rsa.pub | clip
      • At Gitlab‘s account, add Key:
        https://gitlab.com/profile/keys
    • Step 4:
      • Before generating a new SSH key pair check if your system already has oneat the default location by opening a shell, or Command Prompt on Windows, and running the following command:
      • Windows Command Prompt:
        • type %userprofile%\.ssh\id_rsa.pub
    • Git Bash on Windows / GNU/Linux / macOS / PowerShell:
      • cat ~/.ssh/id_rsa.pub
    • Step 5:
      • After Generating your SSH Keys, please go to
        • Settings
        • SSH Keys
        • Right Click and past your key
        • You will see your key as below:

II. How to push project to GitLab

  • Step 1:
    • Create Group in GitLab
    • Groups in menu –> New Group
    • Click button “Create Group”
  • Step 2:
      • Create project
      • Click new project
      • We got the project as below
      • Click on the project
      • We will see the instruction to push our project to server

  • Step 3:
    • Open Location of our project to push them to GitLab
    • Then right click on directory / project location
  • Step 4:
    • Follow the command in Git Bash Here
      • § git init
      • § git remote add origin git@gitlab.com:AEU_MSIT_JAVA/Article-Solution.git
      • § git add .§ git commit -m “Initial commit”
      • § git push -u origin master
      • Result will show as below screenshot

III. How to Remove Groups from GitLab

  • Step 1:
    • Select Groups on menu
    • Click on the sign
    • Remove group

IV. How to Remove Project from GitLab

  • Step 1:
    • Choose project we want to remove on Groups
    • Example: I want to remove project “AEU_MSIT_JAVA/AS-Project
    • On the left side:
      • Settings
      • Advanced Settings
      • Expand
      • Scroll down and click on button “Remove Project”