Skip to content

Supported Git hosts

<git-log> and <git-show> load public repositories directly from GitHub, GitLab.com, and Bitbucket Cloud. They do not authenticate requests, so private repositories and self-hosted Git services are not supported. <git-diff> does not contact a Git host; it renders patch text supplied by the page.

Repository URLs

Hostrepository URL format
GitHubhttps://github.com/owner/repo
GitLab.comhttps://gitlab.com/group/project (including nested groups)
Bitbucket Cloudhttps://bitbucket.org/workspace/repo

Requests and rate limits

A single-revision <git-log> normally makes one API request. Revision comparisons can need more: symmetric ranges query both sides, and large GitHub comparisons can require additional pages. <git-show> requests commit metadata and its diff separately. GitLab commit diffs can require multiple pages. Repository caching explains when repeated elements share requests and reuse stored results.

The hosts currently publish these limits for unauthenticated requests from one IP address:

HostPublished limitHost documentation
GitHub60 requests/hourREST API rate limits
GitLab.com60 requests/hourGitLab.com rate limits
Bitbucket Cloud60 requests/hourAPI request limits

These are the published general limits. Hosts can also apply endpoint or burst limits, and their rules can change. Check the linked documentation for current details.

Large diffs

<git-show> and its change summaries use the patch returned by the host. If a host omits part of a large diff, the rendered patch and counts cover only the returned content.

For Bitbucket Cloud, see its commit and diff API reference for the current endpoint behavior.

Released under the Apache-2.0 License.