隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
          數據加載中……

          在Proxy環境中使用GIT需要解決的問題.

          由于是在Proxy的網絡環境,MSYSGIT 的 git clone 總是失敗。需要配置如下環境變量。
          export http_proxy="http://<proxy domain name>:<port>"
          之后http協議git clone沒有任何問題。但是用git 協議仍舊有問題。

          之后發現git push 和 git pull 經常不能work。多次嘗試后發現用更全的命令行參數可以解決問題。
          過程如下。

          git pull --fail
          git pull origin --fail
          git pull  git@github.com:ueddieu/mmix.git --it works.

          It seems the Command line short cuts are lack of some user information, such as user name "git".
          (which is kind of strange at the first glance.)

          git push --fail
          git push origin --fail
          git push git@github.com:ueddieu/mmix.git master --it works.

          Anyway, now I can check in code smoothly. :)

          posted on 2009-12-31 17:13 InPractice 閱讀(828) 評論(1)  編輯  收藏

          評論

          # re: 在Proxy環境中使用GIT需要解決的問題.  回復  更多評論   

          git在clone的時候非常差勁。。。網絡稍有不對就經常會中斷。。。
          2010-08-04 12:29 | ptrKernel

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 东乡县| 海口市| 霍林郭勒市| 齐河县| 黑河市| 昌宁县| 公安县| 和静县| 勐海县| 华坪县| 清徐县| 原平市| 山西省| 额敏县| 稷山县| 泽州县| 卢龙县| 安龙县| 贵阳市| 烟台市| 鄂伦春自治旗| 东兰县| 桑植县| 德州市| 河北省| 洛浦县| 庆云县| 岚皋县| 钟祥市| 融水| 阳山县| 扎兰屯市| 大关县| 中阳县| 增城市| 东莞市| 泸西县| 曲松县| 甘肃省| 屏东市| 历史|