1GIT-LAB(1) git-lab Manual GIT-LAB(1)
2
3
4
6 git-lab - operate on gitlab instances via the REST API
7
8
10 git-lab [-h] CMD ...
11
12
14 This git porcelain provides access to the gitlab workflow via its REST
15 API.
16
17
19 -h, --help
20 Show help message and exit
21
22
24 Sub-commands
25 git-lab setup
26 Set up a git repository to work with a GitLab instance
27
28 git-lab fork
29 Fork a project
30
31 git-lab raw
32 Process raw command args
33
34 git-lab listprojects
35 List/Search Projects
36
37 git-lab createmr
38 Create merge-request
39
40 git-lab updatemr
41 Update merge-request
42
43 git-lab listmr
44 List merge-requests
45
46 git-lab closemr
47 Close a merge-request
48
49 git-lab review
50 Conduct merge-request review
51
52
54 This porcelain requires the following addition to the git config file
55 to run
56
57 [gitlab]
58 list=[email list]
59 apikey=<key>
60 hosturl=<url>
61 [sslVerify] = [False|path/to/cert]
62
63 [remote "x"]
64 projectid = <projectid>
65
66 Where <key> is the api token generated from your gitlab host, <hosturl>
67 is the url that points to the api base of your gitlab instance (i.e.
68 https://gitlab.com/), and list is the mailing list to post to projectid
69 is the gitlab project id associated with that remote, this can be manu‐
70 ally populated. Note the git-lab fork command will automatically popu‐
71 late this field.
72
73
75 git-lab was written by Neil Horman <nhorman@redhat.com>.
76
77
79 The latest version of git-lab may be downloaded from
80 ⟨https://gitlab.com/nhorman/git-lab-porcelain⟩
81
82
83
84git-lab 0.5 2020/03/12 GIT-LAB(1)