On 12/31/13 07:20, Lihao Yeong wrote:
Currently the merge instructions in a merge request suggest user to

git checkout target_branch
git fetch origin
git merge origin/source_branch
get push origin target_branch

to perform a merge request. My team is fairly new to Git so most of them
would use the given instructions while performing a merge request.

I would like to modify the instructions to enforce a non fast-forward
merge on every merge request, like the following

git pull
git merge --no-ff origin/source_branch
git push origin target_branch

Is there a way to edit or modify the merge instructions?


These instructions are in app/views/projects/merge_requests/show/_how_to_merge.html.haml

You could edit it to your needs, but it's in version control and you'll probably have to deal with GitLab updates somehow.


--
GPG : 0xABF99BE5
Blog: http://axilleas.me

--
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to