summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli.rst')
-rw-r--r--docs/cli.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/cli.rst b/docs/cli.rst
index 2d150e6..53ef83f 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -189,3 +189,9 @@ Define the status of a commit (as would be done from a CI tool for example):
--commit-id a43290c --state success --name ci/jenkins \
--target-url http://server/build/123 \
--description "Jenkins build succeeded"
+
+Use sudo to act as another user (admin only):
+
+.. code-block:: console
+
+ $ gitlab project create --name user_project1 --sudo username