git push、git pull なんかがどうにもこうにもエラーだなーって時に使えるかもしれないワザ。 リモートレポジトリのURLがhttp/https の場合に限るです。 GitBucketを使った際に、 git cloneできない問題 に引っかかった時にデバッグで使用しました。 環境変数「GIT_CURL_VERBOSE=1」を設定しておくと、通信内容(curl)のDEBUGを出すことができますという話。 $ GIT_CURL_VERBOSE=1 git clone http://localhost:18080/gitbucket/git/root/test01.git Cloning into 'test01'... * Couldn't find host localhost in the .netrc file; using defaults * About to connec