summaryrefslogtreecommitdiff
path: root/docs/gl_objects/projects.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects/projects.rst')
-rw-r--r--docs/gl_objects/projects.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index fee55d1..e96f14c 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -231,6 +231,10 @@ Compare two branches, tags or commits::
for file_diff in result['diffs']:
print(file_diff)
+Get the merge base for two or more branches, tags or commits::
+
+ commit = project.repository_merge_base(['main', 'v1.2.3', 'bd1324e2f'])
+
Get a list of contributors for the repository::
contributors = project.repository_contributors()