v2
latestOpenAPI 3.0.02026-08-013312111.4 MBCommits
Get the common ancestor between two commits
Returns the best common ancestor between two commits, specified in a revspec of 2 commits (e.g. 3a8b42..9ff173).
If more than one best common ancestor exists, only one will be returned. It is unspecified which will be returned.
get/repositories/{workspace}/{repo_slug}/merge-base/{revspec}
Response
The merge base of the provided spec.