summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli.rst')
-rw-r--r--docs/cli.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/cli.rst b/docs/cli.rst
index 3207902..b4a6c5e 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -236,6 +236,18 @@ Create a snippet:
$ gitlab project-snippet create --project-id 2 --title "the title" \
--file-name "the name" --code "the code"
+Get a specific project commit by its SHA id:
+
+.. code-block:: console
+
+ $ gitlab project-commit get --project-id 2 --id a43290c
+
+Get the GPG signature of a signed commit:
+
+.. code-block:: console
+
+ $ gitlab project-commit signature --project-id 2 --id a43290c
+
Define the status of a commit (as would be done from a CI tool for example):
.. code-block:: console