Gitlet Git 的 JavaScript 实现

程序名称:Gitlet

授权协议: MIT

操作系统: 跨平台

开发语言: JavaScript

Gitlet 介绍

Gitlet 是 Git 的 JavaScript 实现。支持 init, add, rm, commit, branch,
checkout, diff, remote, fetch, merge, push, pull, status 和
clone 操作。

下面命令解释了 Gitlet 的工作过程:

~   $ git clone [email protected]:maryrosecook/gitlet.git
~   $ alias gitlet='node ~/gitlet/gitlet.js'

~   $ mkdir a
~   $ cd a
~/a $ gitlet init

~/a $ echo first > number.txt
~/a $ gitlet add number.txt
~/a $ gitlet commit -m "first"
      [master 2912d7a2] first

~/a $ cd ..
~   $ gitlet clone a b

~   $ cd b
~/b $ echo second > number.txt
~/b $ gitlet add number.txt
~/b $ gitlet commit -m "second"
      [master 484de172] second

~   $ cd ../a
~/a $ gitlet remote add b ../b
~/a $ gitlet fetch b master
      From ../b
      Count 6
      master -> b/master
~/a $ gitlet merge FETCH_HEAD
      fast-forward

~/a $ gitlet branch other
~/a $ gitlet checkout other
      Switched to branch other

~/a $ echo third > number.txt
~/a $ gitlet add number.txt
~/a $ gitlet commit -m "third"
      [other 656b332d] third

~/a $ gitlet push b other
      To ../b
      Count 9
      other -> other

使用 Gitlet 之前应该先安装 Node.js ,然后:

$ git clone [email protected]:maryrosecook/gitlet.git
$ cd gitlet
$ npm install
$ npm test

Gitlet 官网

http://gitlet.maryrosecook.com/

相关编程语言

提到 EclEmma 首先就要说到著名的 Java 覆盖测试工具...
Solex是一个WEB应用测试用的Eclipse插件。Solex可以...
Apache为我们提供了一个强大的工具 Cactus!它是一套...
Google C Testing Framework是Google公司用来在各种...
JdbcProxy 是 SourceForge 上一个开源的 Java 项目,...
Ripplet是一款负载测试工具,特征如下: 1)基于Apa...