纯Javascript实现的Git客户端:git-html5.js
jopen
10年前
git-html5.js是一个纯Javascript实现的Git客户端库。它实现了一个完整的Git工作流,可以运行在一个支持HTML5的浏览器中。一些示例用例:</span>
克隆远程Git仓库至您基于浏览器的文件系统中
var options = { dir: projectHome, url: 'https://github.com/ryanackley/git-html5.js.git', depth: 1 }; GitApi.clone(options, function(){ // clone has completed at this point, do something with the files that have been imported into dir });