在我的Mac OS X 10.8上設置gitlbit,但仍然無法推送!Gitblit推送錯誤「錯誤:RPC失敗;結果= 52,HTTP代碼= 0」
在Gitblit網絡界面,我創建稱爲空的空存儲庫,並通過以下命令它克隆到本地存儲:
git clone https://localhost:8443/git/test/empty.git
我添加了一個文件並提交變化並增加了一個遠程
git remote add gitblit https://localhost:8443/git/test/empty.git
然後我試圖推動與:
git push -v gitblit master
和錯誤顯示:
Pushing to https://localhost:8443/git/test/empty.git
Counting objects: 3, done.
Writing objects: 100% (3/3), 215 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
POST git-receive-pack (351 bytes)
error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
我嘗試了SSL和緩衝區設置,但沒有幫助。
git config http.postBuffer 524288000
git config http.sslVerify false
git config --global http.postBuffer 524288000
config --global --bool --add http.sslVerify false
我Gitblit綁定的設置都設置爲空白接受結合所有接口:
server.httpBindInterface =
server.httpsBindInterface =
server.ajpBindInterface =
任何幫助,將不勝感激!
有趣。有一個懸而未決的問題來支持git init --bare --shared的等價物,它可能會先發制人地解決這個問題。 –