Bonobo Git Server (Simple git server for Windows.) 测试备忘


Bonobo Git Server是一款Windows上的Git Server,它使用IIS即可,走的是Http协议,只要简单的安装就能使用,但是因为我的项目大小有1.35GB在 push 的时候一直发生奇怪问题,怕忘记赶快备忘一下。

1.发生RPC FAILURE (RESULT=56)之类,参考URL
http://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/
http://blog.xuite.net/misgarlic/weblogic/brick-view/102804976?aid=55236696&mode=brick
https://gitcafe.com/GitCafe/Help/tickets/269?locale=zh-TW

可用git config http.postBuffer 524288000 将Http buffer加大。

2.发生 fatal: protocol error: bad line length character:<!DO ,参考URL
http://stackoverflow.com/questions/7152285/issue-with-git-hosted-on-iis-with-bonobo

在 Bonobo Web.config file 的<system.web>加上
<httpruntime maxrequestlength="2147483647"></httpruntime>

3.我在IIS上的应用程序集区设定上的"工作者进程上限"也加大到 6 以免IIS内存不足。

4.发生error: RPC failed; result=22, HTTP code = 404,参考URL
http://gisgeek.blogspot.tw/2012/03/bonobo-git-server-remote-end-hung-up.html

修改Bonobo Web.config file
把 requestLimits maxAllowedContentLength="102400"
改到999999999

5.当版本库过大在clone时发生错误,error: RPC failed; result=22, HTTP code = 500
http://stackoverflow.com/questions/17826660/gitlab-git-clone-https-with-large-repos-fails

试试SSH方式
http://blog.crboy.net/2012/05/git-on-windows.html
http://jerry2yang.wordpress.com/2011/08/22/git-server-with-sshd-on-windows-server/
http://holyhoehle.wordpress.com/2011/08/05/setting-up-a-git-server-on-windows-server-2008-r2-using-msysgit-and-winsshd-update/
http://blog.pigbaby.com/?p=222
http://jerry2yang.wordpress.com/?s=msysGit
Windows GIT 解决中文显示乱码问题
http://jerry2yang.wordpress.com/2011/08/12/windows-git-%E8%A7%A3%E6%B1%BA%E4%B8%AD%E6%96%87%E9%A1%AF%E7%A4%BA%E4%BA%82%E7%A2%BC%E5%95%8F%E9%A1%8C/

用Apache
http://huan-lin.blogspot.com/2011/05/install-git-server-and-apache-on.html

优质内容筛选与推荐>>
1、vlan的作用
2、HLG 1541 集合划分【01背包】
3、部署tinyproxy透明代理服务
4、(easy)LeetCode 242.Valid Anagram
5、【管理心得之三十四】“禅宗境界”的员工


长按二维码向我转账

受苹果公司新规定影响,微信 iOS 版的赞赏功能被关闭,可通过二维码转账支持公众号。

    阅读
    好看
    已推荐到看一看
    你的朋友可以在“发现”-“看一看”看到你认为好看的文章。
    已取消,“好看”想法已同步删除
    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号