Git 命令行扩展工具:hub

jopen 9年前

git + hub = github

hub 是一个命令行工具,它封装了 git 命令用于扩展一些额外的特性,让你更加方便的使用 Github,例如:

$ hub clone rtomayko/tilt  # expands to:  $ git clone git://github.com/rtomayko/tilt.git

支持多操作系统,在 Mac 下可使用如下命令进行安装:

$ brew install hub

编译安装:

$ git clone https://github.com/github/hub.git  $ cd hub  $ ./script/build  $ cp hub YOUR_BIN_PATH

安装完进行版本检查:

$ hub version  git version 1.7.6  hub version 1.8.3

项目主页:http://www.open-open.com/lib/view/home/1420290674640