git.jsJS 实现的 Git 客户端

联合创作 · 2023-10-01 07:02

git.js 是用 JavaScript 实现的 Git 客户端,包括:



  • 基于 node.js 的命令行客户端

  • 可通过浏览器访问资料库的 API


当前命令行版本实现了:



  • git.js log (shows 10 commits)

  • git.js branch (listing local branches)

  • git.js show SHA (show object information)


客户端API实现了:



  • creating an in-memory repo

  • fetching remote objects through the dumb or smart HTTP git protocols

  • browsing the object graph

  • creating HTML object diffs



浏览 17
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报