summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2016-01-30 16:38:16 +0100
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2016-01-30 16:38:16 +0100
commit3711f198a4e02144d9d49b68420d24afc9f4f957 (patch)
treead6edd6bf91ac4196912ba3aecc59ce5b5a1bbbb /docs/cli.rst
parentc579c8081af787945c24c75b9ed85b2f0d8bc6b9 (diff)
downloadgitlab-3711f198a4e02144d9d49b68420d24afc9f4f957.tar.gz
Add sudo support
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