赞
踩
1. sudo su -s /bin/bash gitadmin
2. /home/gitadmin/gitolite-admin/conf
3. vim gitolite.conf
4. repo reponame
RW+ = userone.rsa usertwo.rsa
5. git add gitolite.conf
6. git commit -m "add new repo"
7. git push
8. 退出gitadmin用户,用自己的git用户,git clone git@serveraddress:reponame
9. 将本地代码导入
10. git add .
11. git commit -m "add XXXXX"
12. git push origin master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。