Commit 8bb4c6de authored by Valery Sizov's avatar Valery Sizov

improve how to merge tips

parent b57faf92
...@@ -5,11 +5,10 @@ ...@@ -5,11 +5,10 @@
.modal-body .modal-body
%pre %pre
:erb :erb
git checkout <%= @merge_request.target_branch %>
git fetch origin git fetch origin
git checkout -b <%=@merge_request.source_branch%> origin/<%=@merge_request.source_branch%> git merge origin/<%= @merge_request.source_branch %>
git checkout <%=@merge_request.target_branch%> git push origin <%= @merge_request.target_branch %>
git merge <%=@merge_request.source_branch%>
git push origin <%=@merge_request.target_branch%>
:javascript :javascript
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment