1 创建git私有仓库和pycharm的使用
[root@localhost home]# pwd
/home
[root@localhost home]# useradd -s /usr/bin/git-shell git #创建git用户并制定登录用户为git-shell
[root@localhost home]# git init --bare myrepo.git #初始化仓库,此仓库没有工作区,这一点能避免
[root@localhost home]# pwd
/home
[root@localhost home]# useradd -s /usr/bin/git-shell git #创建git用户并制定登录用户为git-shell
[root@localhost home]# git init --bare myrepo.git #初始化仓库,此仓库没有工作区,这一点能避免