summaryrefslogtreecommitdiff
path: root/docs/gl_objects/commits.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects/commits.py')
-rw-r--r--docs/gl_objects/commits.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/commits.py b/docs/gl_objects/commits.py
index 2ed66f5..0d47edb 100644
--- a/docs/gl_objects/commits.py
+++ b/docs/gl_objects/commits.py
@@ -39,6 +39,10 @@ commit = project.commits.get('e3d5a71b')
diff = commit.diff()
# end diff
+# cherry
+commit.cherry_pick(branch='target_branch')
+# end cherry
+
# comments list
comments = gl.project_commit_comments.list(project_id=1, commit_id='master')
# or