|
|
|
<% bash_lexer = Pygments::Lexer[:bash] %>
|
|
|
<div class="">
|
|
<div class="">
|
|
|
<div class="git-empty">
|
|
<div class="git-empty">
|
|
|
<h2>Git global setup:</h2>
|
|
<h2>Git global setup:</h2>
|
| ... | @@ -6,7 +7,7 @@ git config --global user.name "#{current_user.name}" |
... | @@ -6,7 +7,7 @@ git config --global user.name "#{current_user.name}" |
|
|
git config --global user.email "#{current_user.email}"
|
|
git config --global user.email "#{current_user.email}"
|
|
|
eos
|
|
eos
|
|
|
%>
|
|
%>
|
|
|
<%= raw Albino.colorize(setup_str, :bash) %>
|
|
<%= raw bash_lexer.highlight(setup_str) %>
|
|
|
<br />
|
|
<br />
|
|
|
<br />
|
|
<br />
|
|
|
<h2>Next steps:</h2>
|
|
<h2>Next steps:</h2>
|
| ... | @@ -21,7 +22,7 @@ git remote add origin #{@project.url_to_repo} |
... | @@ -21,7 +22,7 @@ git remote add origin #{@project.url_to_repo} |
|
|
git push -u origin master
|
|
git push -u origin master
|
|
|
eos
|
|
eos
|
|
|
%>
|
|
%>
|
|
|
<%= raw Albino.colorize(repo_setup_str, :bash) %>
|
|
<%= raw bash_lexer.highlight(repo_setup_str) %>
|
|
|
|
|
|
|
|
<br /><br />
|
|
<br /><br />
|
|
|
<h2>Existing Git Repo?</h2>
|
|
<h2>Existing Git Repo?</h2>
|
| ... | @@ -31,7 +32,7 @@ git remote add origin #{@project.url_to_repo} |
... | @@ -31,7 +32,7 @@ git remote add origin #{@project.url_to_repo} |
|
|
git push -u origin master
|
|
git push -u origin master
|
|
|
eos
|
|
eos
|
|
|
%>
|
|
%>
|
|
|
<%= raw Albino.colorize(exist_repo_setup_str, :bash) %>
|
|
<%= raw bash_lexer.highlight(exist_repo_setup_str) %>
|
|
|
|
|
|
|
|
<br /><br />
|
|
<br /><br />
|
|
|
<h2>Remove this project?</h2>
|
|
<h2>Remove this project?</h2>
|
| ... | |
... | |
| ... | | ... | |