1、新建git仓库目录:mkdir res.git
2、初始化:
cd res
git init --bare --share
3、客户机访问:
git clone 用户名@仓库所在机器地址:仓库目录所在路径
如:git clone git@12.13.234.28:git/res.git
4、ok
2、初始化:
cd res
git init --bare --share
3、客户机访问:
git clone 用户名@仓库所在机器地址:仓库目录所在路径
如:git clone git@12.13.234.28:git/res.git
4、ok