summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Blaine <jblaine@kickflop.net>2015-08-10 14:53:44 -0400
committerJeff Blaine <jblaine@kickflop.net>2015-08-10 14:53:44 -0400
commit773545d533ae4b9ab2b55d2e4942dc78cbe28f27 (patch)
tree3e04459ab4b4b29197290c34cafd23311544c77e
parentb99cbf47af335309dd0832bb772d0527c5e4f060 (diff)
downloadgitlab-ce-773545d533ae4b9ab2b55d2e4942dc78cbe28f27.tar.gz
Fix instructions for empty repo + existing files
Fixes #2242
-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