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