diff options
Diffstat (limited to 'app/views/projects/empty.html.haml')
| -rw-r--r-- | app/views/projects/empty.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index 44411b71596..eef113e002b 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -2,18 +2,18 @@ .alert-message.block-message.error %ul %li You have no ssh keys added to your profile. - %li You wont be able to pull/push repository. - %li Visit profile → keys and add public key of every machine you want to use for work with gitlabhq. + %li You wont be able to pull/push repository. + %li Visit profile → keys and add public key of every machine you want to use for work with gitlabhq. .alert-message.block-message.error %ul.unstyled.alert_holder %li You should push repository to proceed. - %li After push you will be able to browse code, commits etc. + %li After push you will be able to browse code, commits etc. - bash_lexer = Pygments::Lexer[:bash] %div.git-empty %h3 Git global setup: - - setup_str = ["git config --global user.name \"#{current_user.name}\"", + - setup_str = ["git config --global user.name \"#{current_user.name}\"", "git config --global user.email \"#{current_user.email}\""].join("\n") = preserve do = raw bash_lexer.highlight(setup_str, :lexer => 'bash', :options => {:encoding => 'utf-8'}) @@ -23,7 +23,7 @@ %h3 Create Repository - repo_setup_str = ["mkdir #{@project.path}", "cd #{@project.path}", - "git init", + "git init", "touch README", "git add README", "git commit -m 'first commit'", |
