Commit ce30eb2b authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'gitdocfix' into 'master'

Fix instructions for empty repo + existing files

Fixes #2242

See merge request !1132
parents b99cbf47 773545d5
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
cd existing_folder cd existing_folder
git init git init
git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')} git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')}
git add .
git commit
git push -u origin master git push -u origin master
- if can? current_user, :remove_project, @project - if can? current_user, :remove_project, @project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment