diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 493280647..09ab9738f 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -13,7 +13,6 @@
(<%= l(:label_all_revisions) %><%= @repositories.sort.collect {|repo| link_to h(repo.name), @@ -21,7 +20,6 @@ :id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil}, :class => 'repository' + (repo == @repository ? ' selected' : '') }.join(' | ').html_safe %>)
- <% else %>git add *
git commit -m "first commit"
git remote add origin <%= @repos_url%>
+git config http.postBuffer 524288000 #设置本地post缓存为500MB
git push -u origin master:master
git remote add origin <%= @repos_url%>
git add .
git commit -m "first commit"
+git config http.postBuffer 524288000 #设置本地post缓存为500MB
git push -u origin master:matser
@@ -44,10 +44,10 @@git remote add trustie <%= @repos_url%>
git add .
git commit -m "first commit"
+git config http.postBuffer 524288000 #设置本地post缓存为500MB
git push -u trustie master:matser
<%= link_to "李海提供", user_path(646)%>
- <% end %> <% if !@entries.nil? && authorize_for('repositories', 'browse') %> <%= render :partial => 'dir_list' %>