git-lab - Man Page

operate on gitlab instances via the REST API

Synopsis

git-lab [-h] CMD ...

Description

This git porcelain provides access to the gitlab workflow via its REST API.

Options

-h,  --help

Show help message and exit

Subcommands

Sub-commands

git-lab setup

Set up a git repository to work with a GitLab instance

git-lab fork

Fork a project

git-lab raw

Process raw command args

git-lab listprojects

List/Search Projects

git-lab createmr

Create merge-request

git-lab updatemr

Update merge-request

git-lab listmr

List merge-requests

git-lab closemr

Close a merge-request

git-lab review

Conduct merge-request review

Files

This porcelain requires the following addition to the git config file to run

[gitlab]
  list=[email list]
  apikey=<key>
  hosturl=<url>
  [sslVerify] = [False|path/to/cert]

[remote "x"]
  projectid = <projectid>

Where <key> is the api token generated from your gitlab host, <hosturl> is the url that points to the api base of your gitlab instance (i.e. https://gitlab.com/), and list is the mailing list to post to projectid is the gitlab project id associated with that remote, this can be manually populated. Note the git-lab fork command will automatically populate this field.

Authors

git-lab was written by Neil Horman <nhorman@redhat.com>.

Distribution

The latest version of git-lab may be downloaded from https://gitlab.com/nhorman/git-lab-porcelain

Info

2020/03/12 git-lab 0.5 git-lab Manual