Commit ed9a6bf9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7758 from bbodenmiller/patch-1

cleanup empty repo page
parents c31c8c55 dcc51b0d
......@@ -2,27 +2,27 @@
%div.git-empty
%fieldset
%legend Git global setup:
%legend Git global setup
%pre.dark
:preserve
git config --global user.name "#{git_user_name}"
git config --global user.email "#{git_user_email}"
%fieldset
%legend Create Repository
%legend Create a new repository
%pre.dark
:preserve
mkdir #{@project.path}
cd #{@project.path}
git init
touch README
git add README
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')}
git push -u origin master
%fieldset
%legend Existing Git Repo?
%legend Push an existing Git repository
%pre.dark
:preserve
cd existing_git_repo
......
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