[记录]使用Gitblit 在windows 上安装Git Server

参考了:

Windows平台下搭建Git服务器的图文教程

主要修改了:data/gitblit.properties

 1 # Include Gitblit's 'defaults.properties' within your configuration.
 2 #
 3 # NOTE: Gitblit will not automatically reload "included" properties.  Gitblit
 4 # only watches the 'gitblit.properties' file for modifications.
 5 #
 6 # Paths may be relative to the ${baseFolder} or they may be absolute.
 7 #
 8 # COMMA-DELIMITED
 9 # SINCE 1.7.0
10 include = defaults.properties
11 
12 #
13 # Define your overrides or custom settings below
14 #
15 git.repositoriesFolder = F:\gitrepositories
16 server.httpPort = 10101
17 server.httpBindInterface = 192.168.1.135
18 server.httpsBindInterface = localhost

gitblit.properties文件包含进了defaults.properties文件,修改defaults.properties相关的配置字段,就可以覆盖了相关的配置

posted @ 2016-03-07 10:35  五毛钱的饼  阅读(163)  评论(0编辑  收藏  举报