1、首先打开网址

http://www.gitblit.com

2、选择windows那一项

Git私服搭建

3.下载好后解压gitblit-1.8.0;

Git私服搭建

1)    进入目录:D:\gitblit-1.8.0\data

2)    打开defaults.properties分别搜索替换以下信息:

server.httpPort = 8000    (http协议的端口 ,请改为自己的端口

server.httpBindInterface = 0.0.0.0 (http协议下服务器端访问的网址 ip,请改为自己的ip)如:192.168.0.106或者127.0.0.1

git.repositoriesFolder = ${baseFolder}/git (${baseFolder}/git是其默认目录,也可以替换为自己指定的文件目录

3)    保存该defaults.properties文件

4)  启动git服务

Git私服搭建

5)    访问git服务网站

点开浏览器,输入举例:http://127.0.0.1:8000/

6) 如图:以admin/admin用户登录

Git私服搭建

7)创建用户、创建版本

相关文章:

  • 2021-11-23
  • 2022-02-06
  • 2021-11-26
  • 2021-11-28
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2021-10-09
  • 2021-09-12
  • 2021-09-08
  • 2022-03-07
  • 2021-04-15
  • 2021-06-10
  • 2021-11-20
相关资源
相似解决方案