Merge branch 'develop' of 10.0.47.245:/home/trustie2 into develop
This commit is contained in:
commit
75451fa785
|
@ -6,7 +6,7 @@
|
|||
<h3>
|
||||
<%= render :partial => 'breadcrumbs',
|
||||
:locals => { :path => @path, :kind => 'dir', :revision => @rev } %>
|
||||
<div style="font-size:11px;">
|
||||
<div style="font-size:15px;">
|
||||
<%if @repository.type.to_s=="Repository::Git"%>
|
||||
<%= @repos_url%>
|
||||
<%else %>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<% end %>
|
||||
</h3>
|
||||
<% if @repository.branches.empty?%>
|
||||
<h3>进入到需要建立版本库文件夹,打开命令行执行如下</h3>
|
||||
<h3>建立版本库文件夹,打开命令行执行如下:</h3>
|
||||
<div class="repos_explain">
|
||||
<p>git init</p>
|
||||
<p>git add *</p>
|
||||
|
@ -32,6 +32,11 @@
|
|||
<p>git remote add origin <%= @repos_url%></p>
|
||||
<p>git push -u origin master</p>
|
||||
</div>
|
||||
<h3>已经有本地库,打开命令行执行如下:</h3>
|
||||
<div class="repos_explain">
|
||||
<p>git remote add origin <%= @repos_url%></p>
|
||||
<p>git push -u origin master</p>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if !@entries.nil? && authorize_for('repositories', 'browse') %>
|
||||
<%= render :partial => 'dir_list' %>
|
||||
|
|
Loading…
Reference in New Issue