gitlab-org--gitlab-foss/app/views/merge_requests/show/_how_to_merge.html.haml

20 lines
556 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%div#modal_merge_info.modal.hide
.modal-header
%a.close{href: "#"} ×
%h3 How To Merge
.modal-body
%p
%strong Step 1.
Checkout target branch and get recent objects from GitLab
%pre.dark
:preserve
git checkout #{@merge_request.target_branch}
git fetch origin
%p
%strong Step 2.
Merge source branch into target branch and push changes to GitLab
%pre.dark
:preserve
git merge origin/#{@merge_request.source_branch}
git push origin #{@merge_request.target_branch}