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