Merge branch 'develop' of 10.0.47.245:/home/trustie2 into develop
This commit is contained in:
commit
fb64b47ba6
|
@ -21,23 +21,22 @@
|
|||
:id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil},
|
||||
:class => 'repository' + (repo == @repository ? ' selected' : '')
|
||||
}.join(' | ').html_safe %>)</p>
|
||||
<% end %>
|
||||
</h3>
|
||||
<% if @repository.branches.empty?%>
|
||||
<h3>建立版本库文件夹,打开命令行执行如下:</h3>
|
||||
<% else %>
|
||||
<h3>建立版本库文件夹,打开命令行执行如下:</h3>
|
||||
<div class="repos_explain">
|
||||
<p>git init</p>
|
||||
<p>git add *</p>
|
||||
<p>git commit -m "first commit"</p>
|
||||
<p>git remote add origin <%= @repos_url%></p>
|
||||
<p>git push -u origin master</p>
|
||||
<p>git push -u origin master:master</p>
|
||||
</div>
|
||||
<h3>已经有本地库,打开命令行执行如下:</h3>
|
||||
<div class="repos_explain">
|
||||
<p>git remote add origin <%= @repos_url%></p>
|
||||
<p>git push -u origin master</p>
|
||||
<p>git push -u origin master:matser</p>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</h3>
|
||||
<% if !@entries.nil? && authorize_for('repositories', 'browse') %>
|
||||
<%= render :partial => 'dir_list' %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue