简体   繁体   English

PHP版本控制

[英]Version Control with PHP

Currently I'm building a simple page for project hosting, and now I've got a question. 目前,我正在为项目托管建立一个简单的页面,现在我有一个问题。 Is there any implementation of GIT or HG (Mercurial) in PHP? PHP中有GIT或HG(Mercurial)的实现吗? - Yes I know about the command system() , but I'm doing the job on a hosting with few permissions and so I need something in bare PHP. -是的,我知道命令system() ,但是我正在具有很少权限的主机上进行这项工作,因此我需要裸露的PHP中的某些东西。

I already searched on the web, but I didn't find anything. 我已经在网上搜索了,但没有找到任何东西。 =( =(

I hope there already exists something like this. 我希望已经存在这样的东西。

Thanks 谢谢

There are PEAR packages for SVN and GIT : 有用于SVN和GIT的PEAR软件包:

But I don't remember having seen anything for Mercurial. 但我不记得曾为Mercurial看过什么。

You can give glip a try. 您可以尝试一下glip it looks like git-php might also do the trick. 看起来git-php也可以解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM