summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2015-08-10 20:49:04 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2015-08-10 20:49:04 +0000
commitce30eb2b97d205f818d28005d8b8856533f96e92 (patch)
tree3e04459ab4b4b29197290c34cafd23311544c77e
parentb99cbf47af335309dd0832bb772d0527c5e4f060 (diff)
parent773545d533ae4b9ab2b55d2e4942dc78cbe28f27 (diff)
downloadgitlab-ce-ce30eb2b97d205f818d28005d8b8856533f96e92.tar.gz
Merge branch 'gitdocfix' into 'master'
Fix instructions for empty repo + existing files Fixes #2242 See merge request !1132
-rw-r--r--app/views/projects/empty.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index dfe45a3802d..e577d35d560 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -43,6 +43,8 @@
cd existing_folder
git init
git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')}
+ git add .
+ git commit
git push -u origin master
- if can? current_user, :remove_project, @project