开发工具 Hub - 让你使用 Github 更容易

huacnlee · 2013年07月31日 · 最后由 1272729223 回复于 2014年02月26日 · 4307 次阅读

http://hub.github.com/

这个 Mac 工具可以让你更容易的访问 Github。

例如

# clone your own project
$ git clone dotfiles
→ git clone git://github.com/YOUR_USER/dotfiles.git

# clone another project
$ git clone github/hub
→ git clone git://github.com/github/hub.git

# see the current project's issues
$ git browse -- issues
→ open https://github.com/github/hub/issues

# open another project's wiki
$ git browse mojombo/jekyll wiki
→ open https://github.com/mojombo/jekyll/wiki

不错的东西

建议不要直接将它 alias 到 git,如果你的 shell 的 prompt 要算 Git 状态的话,会慢的要死。

刚刚才发现,打算搞一搞

$ ruby -v
ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin13.0.2]
$ hub version
git version 1.8.3.4 (Apple Git-47)
hub version 1.11.2

返回错误:Error creating repository: Unprocessable Entity (HTTP 422)

$ mkdir awesome-app && cd awesome-app
$ touch README.md
$ git init
$ git add .
$ git commit -m "initial commit"
$ hub create -d "a simple awesome app"
github.com username: 1272729223
github.com password for 1272729223 (never sored):  *********
Error creating repository: Unprocessable Entity (HTTP 422)

google 搜索过,貌似没有人遇到这个问题。这是怎么回事

需要 登录 后方可回复, 如果你还没有账号请 注册新账号