added = preserve to some pre statements
This commit is contained in:
parent
51ca0abf10
commit
700eec6672
2 changed files with 9 additions and 7 deletions
|
@ -14,5 +14,6 @@
|
||||||
%p
|
%p
|
||||||
Try:
|
Try:
|
||||||
%pre
|
%pre
|
||||||
sudo chmod -R 770 /home/git/repositories/
|
= preserve do
|
||||||
sudo chown -R git:git /home/git/repositories/
|
sudo chmod -R 770 /home/git/repositories/
|
||||||
|
sudo chown -R git:git /home/git/repositories/
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
%h3 How To Merge
|
%h3 How To Merge
|
||||||
.modal-body
|
.modal-body
|
||||||
%pre
|
%pre
|
||||||
:erb
|
= preserve do
|
||||||
git checkout <%= @merge_request.target_branch %>
|
:erb
|
||||||
git fetch origin
|
git checkout <%= @merge_request.target_branch %>
|
||||||
git merge origin/<%= @merge_request.source_branch %>
|
git fetch origin
|
||||||
git push origin <%= @merge_request.target_branch %>
|
git merge origin/<%= @merge_request.source_branch %>
|
||||||
|
git push origin <%= @merge_request.target_branch %>
|
||||||
|
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
|
|
Loading…
Reference in a new issue