VibeHunt
Back to browse

gitlab-cli

Create GitLab merge requests.

Source

gitlab-cli is a JavaScript command‑line utility that streamlines interaction with GitLab repositories. It provides a set of commands such as `browse`, `compare`, `merge-request`, and `merge-requests`, enabling users to open GitLab pages, compare branches, and create merge requests directly from the terminal. The tool captures required configuration on first use, while also allowing explicit settings via Git config or environment variables for the GitLab URL and access token.

The primary workflow focuses on creating merge requests with minimal arguments. Users can specify base and target branches, title, assignee, labels, and options like squash, source‑branch removal, or automatic opening of the merge request page. When omitted, the current branch defaults as the base and the repository’s default branch as the target. An in‑place editor assists in providing titles and descriptions, pre‑filled with the latest commit message.

Designed for developers who prefer command‑line operations, gitlab-cli mirrors the simplicity of tools like `hub` while supporting GitLab‑specific features such as fork handling and label assignment. It is distributed via npm and marked as stable for production use.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps