https://github.com/github/hub/pull/488
まだプルリクの段階だけど、使えるところまで出来たのでメモ
1. hubのインストール
$ git clone https://github.com/github/hub $ git checkout enterprise-http $ cd hub $ rake install
2. GitHub Enterpriseでhttpが使えるようにする設定
cd (GitHub Enterpriseのリポジトリ) # GitHub Enterpriseのホスト名を設定 git config --add hub.host git.my.org # GitHub Enterpriseでhttpが使えるようにする設定 vim ~/.config/hub # 以下を追加 --- git.my.org: - user: mapyo protocol: http
※git.my.org
とmapyo
(ユーザ名)は適宜置き換えてください。
いい感じだなー!
※hub browse
くらいしかまだ試してません!