读Git仓库,不用Git [英] Reading a Git repository, without Git

查看:111
本文介绍了读Git仓库,不用Git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究构建超小型(最好是PHP)web应用程序的想法,该应用程序将(作为其他用途)用作git存储库的最小前端。



阅读git存储库(.git文件夹)的任何库/文章不必执行git过程我在寻找用于管理git存储库的API。我只对基本功能感兴趣,比如阅读最后提交(提交者的名称,提交记录,日期),显示和遍历分支...

谢谢,
ANaimi

解决方案

这个(git API文档)有什么帮助吗?



有关扩展php的资源列表(即提供围绕其他库代码的包装):



另外,这些也是相关的:


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.

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...

Thanks, ANaimi

解决方案

Would this (git API documents) be of any help?

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆