improve how to merge tips
This commit is contained in:
parent
b57faf9282
commit
8bb4c6de56
1 changed files with 3 additions and 4 deletions
|
@ -5,11 +5,10 @@
|
|||
.modal-body
|
||||
%pre
|
||||
:erb
|
||||
git checkout <%= @merge_request.target_branch %>
|
||||
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 push origin <%=@merge_request.target_branch%>
|
||||
git merge origin/<%= @merge_request.source_branch %>
|
||||
git push origin <%= @merge_request.target_branch %>
|
||||
|
||||
|
||||
:javascript
|
||||
|
|
Loading…
Add table
Reference in a new issue