summaryrefslogtreecommitdiff
path: root/docs/gl_objects/commits.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects/commits.rst')
-rw-r--r--docs/gl_objects/commits.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/gl_objects/commits.rst b/docs/gl_objects/commits.rst
index 8be1b86..6fef8bf 100644
--- a/docs/gl_objects/commits.rst
+++ b/docs/gl_objects/commits.rst
@@ -43,6 +43,12 @@ Get the diff for a commit:
:start-after: # diff
:end-before: # end diff
+Cherry-pick a commit into another branch:
+
+.. literalinclude:: commits.py
+ :start-after: # cherry
+ :end-before: # end cherry
+
Commit comments
===============