
LAB 1 β GitLab CI + Pages From Scratch
π’ PART 1 β Register GitLab Account Step 1 Go to: https://gitlab.com Click Register Use: Email Username Password Verify email. π’ PART 2 β Create New Project After login: Click New project Choose: π Create blank project Fill: Project name: gitlab-lab Visibility: Public (easier for Pages) Initialize repository with README (optional) Click Create project π’ PART 3 β Connect Mac to GitLab (SSH Setup) Open Mac Terminal. Step 1 β Generate SSH key ssh-keygen -t ed25519 -C "your_email" Press Enter for all prompts. Step 2 β Copy Public Key cat ~/.ssh/id_ed25519.pub Copy entire output. Step 3 β Add SSH Key to GitLab In GitLab: Top right β Profile β Preferences β SSH Keys Click Add new key Paste key β Click Add key Step 4 β Test SSH ssh -T git@gitlab.com You should see: Welcome to GitLab, @yourusername! π’ PART 4 β Clone Project to Mac Go to your project page. Click: Code β Clone β SSH Copy URL like: git@gitlab.com:username/gitlab-lab.git Now in terminal: git clone git@gitlab.com:username/gitlab-lab
Continue reading on Dev.to
Opens in a new tab

