Skip to content

Commit

Permalink
docs: add example for mr.merge_ref
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Focko <mfocko@redhat.com>
  • Loading branch information
mfocko authored and JohnVillalovos committed Jul 21, 2021
1 parent 1e24ab2 commit b30b8ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/gl_objects/mrs.rst
Expand Up @@ -182,6 +182,11 @@ Attempt to rebase an MR::

mr.rebase()

Attempt to merge changes between source and target branch::

response = mr.merge_ref()
print(response['commit_id'])

Merge Request Pipelines
=======================

Expand Down

0 comments on commit b30b8ac

Please sign in to comment.