我正在研究构建一个超小型(最好是 PHP)Web 应用程序的想法,该应用程序将(除其他外)用作 git 存储库的最小前端.
I'm researching the idea of building a super-small (preferably PHP) web app, which will serve (among other things) as a minimal front-end to a git repository.
任何用于读取 git 存储库的库/文章(.git"文件夹)无需执行git"进程?我正在寻找 API管理 git 存储库.我只对基本功能感兴趣,例如读取上次提交(提交者名称、提交说明、日期)、显示和遍历分支...
Any library/article for reading a git repository (".git" folder) without having to execute the "git" process? I'm looking for an API to manage a git repository. I'm only interested in basic functions, such as reading last commits (name of commiter, commit note, date), displaying and traversing branches...
谢谢,阿奈米
Would this(git API 文档)有帮助吗?
Would this (git API documents) be of any help?
以下是有关扩展 php(即提供其他库代码的包装器)的资源列表:
Here's a list of resources about extending php (i.e. to to provide wrappers around other library code):
此外,这些似乎也很相关:
Also, these would seem relevant, too:
这篇关于在没有 Git 的情况下读取 Git 存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!