From 773545d533ae4b9ab2b55d2e4942dc78cbe28f27 Mon Sep 17 00:00:00 2001 From: Jeff Blaine Date: Mon, 10 Aug 2015 14:53:44 -0400 Subject: Fix instructions for empty repo + existing files Fixes #2242 --- app/views/projects/empty.html.haml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/projects/empty.html.haml') 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 -- cgit v1.2.1