Back to Cheat Sheets

GitLab CLI Commands

Commands for interacting with GitLab via CLI.

Action Command Details
Login glab auth login Authenticate with GitLab.
Clone repo glab repo clone owner/repo Clone a GitLab repository.
Create issue glab issue create Create a new issue.
List issues glab issue list List project issues.
Create merge request glab mr create Open a merge request.
List merge requests glab mr list List merge requests.
View pipelines glab pipeline list Show CI/CD pipelines.
Run pipeline glab pipeline run Trigger a pipeline.
View project info glab project view Show project details.
LoopPlunk
Support Us