diff options
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/commits.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/gl_objects/commits.rst b/docs/gl_objects/commits.rst index 22e23f6..d04d731 100644 --- a/docs/gl_objects/commits.rst +++ b/docs/gl_objects/commits.rst @@ -65,6 +65,12 @@ Cherry-pick a commit into another branch:: commit.cherry_pick(branch='target_branch') +Get the references the commit has been pushed to (branches and tags):: + + commit.refs() # all references + commit.refs('tag') # only tags + commit.refs('branch') # only branches + Commit comments =============== |