日期:2014-05-17  浏览次数:21017 次

Windows上Gitblit 的安装与配置

一、下载GitBlit(这里版本为1.0.0)

?

http://gitblit.googlecode.com/files/gitblit-1.0.0.zip

?

?

二、 配置GitBlit

?

主要就是修改 gitblit.properties中的几个参数

?

git.repositoriesFolder = d:/git? 表示仓库路径

?

server.httpPort = 10010 表示端口为10010

?

server.httpsPort = 0? 禁用https

?

server.httpBindInterface = 服务器IP地址

?

server.httpsBindInterface = localhost? 如果禁用https,这个就无所谓了

?

?

三、执行 gitblit.cmd,如果出现如下的界面,表示启动GitBlit成功

?

?

giblit - XiaoMT_Rush - XiaoMT_Rush的博客

?

?

?

?四、在浏览器中输入服务器IP与端口号即可进行giblit管理(例如我的机子上IP为192.168.1.3,端口号设置为10010),如下图所示:

?

giblit - XiaoMT_Rush - XiaoMT_Rush的博客