极速配置 centos 部署 git 服务
linux 搭建 git 服务
git 服务在服务器,项目目录也在服务器
假设当前服务器IP地址: 1.2.3.4
git 仓库,提供 git 服务在服务器上的路径: /home/www/food.git
项目目录,存放项目文件,也就是除开 .git 目录的其它文件, 其在服务器上的路径: /www/wwwgit/food
确定一个使用 git 服务器的用户,并赋于密码,比如 git
[root@localhost ~]# useradd git
[root@localhost ~]# passwd git
原创
2020-05-14 21:04:09 ·
290 阅读 ·
0 评论