将 Git 提交历史整合到我的网站

Integrate Git commit history into my site

我必须将 GIT 提交历史记录与 link 集成到我的站点中,就像用户单击那个 link 时自动转到隐藏的那个提交一样。 所以我对此没有任何想法,如果您对任何 API 有任何想法或对我有任何帮助 link,请分享。 提前致谢。

我认为你可以使用 bitbucket API。这是文档。 https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/commit

或者如果您使用 github,您可以阅读这一篇。 https://developer.github.com/v3/repos/commits/