【问题标题】:Manage git repo from node.js application从 node.js 应用程序管理 git repo 【发布时间】:2015-10-30 21:46:41 【问题描述】: 我需要从Node.js 应用程序管理git 存储库。是否有一个 git 包装库或让我调用 git 高级函数并解释结果而无需解析控制台输出的东西? 【问题讨论】: 另见:Has anyone implemented a git clone or interface library using nodejs? 标签: node.js git nodegit 【解决方案1】: 我想你在找http://www.nodegit.org/? npm install nodegit 【讨论】: nodegit 是对 libgit2 的绑定,是否意味着我不需要在运行应用程序的系统中安装 git? 如果你安装了 gitlib2 就足够了