Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Blaine <jblaine@kickflop.net>2015-08-10 21:53:44 +0300
committerJeff Blaine <jblaine@kickflop.net>2015-08-10 21:53:44 +0300
commit773545d533ae4b9ab2b55d2e4942dc78cbe28f27 (patch)
tree3e04459ab4b4b29197290c34cafd23311544c77e /app/views/projects/empty.html.haml
parentb99cbf47af335309dd0832bb772d0527c5e4f060 (diff)
Fix instructions for empty repo + existing files
Fixes #2242
Diffstat (limited to 'app/views/projects/empty.html.haml')
-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