GitServer搭建

2017.7.6 - 银川 git

用过在本地连接github,想自己搭建一下git服务器,在网上找了一下,发现scm-manager口碑不错,所以下载来试试

1.scm-manager下载地址:https://www.scm-manager.org/download/

2.修改Repository Types为D:\scm-manager\repositories

3.打开Archive功能:

Config -> General -> General Settings -> 勾选Enable repository archive。

4.新建用户(Users),01和02,数据存放在

C:\Users\01.scm\config\config.xml

5.新建Repositories:test

6.检出

git clone http://scmadmin@192.168.43.186:8080/git/test 注:scmadmin是用户名,根据实际情况修改为自己的用户名

7.提交

git clone http://01@192.168.43.186:8080/git/test

遇到的问题:

参考文章:

相关阅读