summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics/create-project.md
diff options
context:
space:
mode:
authorAndré Luís <me@andr3.net>2018-02-23 09:00:19 +0000
committerPhil Hughes <me@iamphill.com>2018-02-23 09:00:19 +0000
commitda531c39057f7216f367cfb8b9e4768bd9728a61 (patch)
treec65e00b7f69a19d956fdc69777fadda2ec4b7d7c /doc/gitlab-basics/create-project.md
parent7834f63c07dd52965e3aa30262d2b8f130c955aa (diff)
downloadgitlab-ce-da531c39057f7216f367cfb8b9e4768bd9728a61.tar.gz
Add Tip about Push to Create project on New Project page
Diffstat (limited to 'doc/gitlab-basics/create-project.md')
-rw-r--r--doc/gitlab-basics/create-project.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gitlab-basics/create-project.md b/doc/gitlab-basics/create-project.md
index e745b51f668..10e8059756d 100644
--- a/doc/gitlab-basics/create-project.md
+++ b/doc/gitlab-basics/create-project.md
@@ -47,10 +47,10 @@ This can be done by using either SSH or HTTP:
```
## Git push using SSH
-git push git@gitlab.example.com:namespace/nonexistent-project.git
+git push --set-upstream git@gitlab.example.com:namespace/nonexistent-project.git master
## Git push using HTTP
-git push https://gitlab.example.com/namespace/nonexistent-project.git
+git push --set-upstream https://gitlab.example.com/namespace/nonexistent-project.git master
```
Once the push finishes successfully, a remote message will indicate