diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index bacba8f94..565a31383 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -21,23 +21,22 @@ :id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil}, :class => 'repository' + (repo == @repository ? ' selected' : '') }.join(' | ').html_safe %>)
- <% end %> - -<% if @repository.branches.empty?%> -git init
git add *
git commit -m "first commit"
git remote add origin <%= @repos_url%>
-git push -u origin master
+git push -u origin master:master
git remote add origin <%= @repos_url%>
-git push -u origin master
+git push -u origin master:matser