improve how to merge tips

This commit is contained in:
Valery Sizov 2012-03-21 23:59:12 +02:00
parent b57faf9282
commit 8bb4c6de56

View file

@ -5,10 +5,9 @@
.modal-body
%pre
:erb
git fetch origin
git checkout -b <%=@merge_request.source_branch%> origin/<%=@merge_request.source_branch%>
git checkout <%= @merge_request.target_branch %>
git merge <%=@merge_request.source_branch%>
git fetch origin
git merge origin/<%= @merge_request.source_branch %>
git push origin <%= @merge_request.target_branch %>