glab

GitLab CLI tool to help working with GitLab from the command line.

TLDR

Clone a GitLab repository locally

$ glab repo clone [owner]/[repository]
copy


Create a new issue
$ glab issue create
copy


View and filter the open issues of the current repository
$ glab issue list
copy


View an issue in the default browser
$ glab issue view --web [issue_number]
copy


Create a merge request
$ glab mr create
copy


View a pull request in the default web browser
$ glab mr view --web [pr_number]
copy


Check out a specific pull request locally
$ glab mr checkout [pr_number]
copy

Copied to clipboard