Server:
1. sudo rm -rf xxx_sdk
2. sudo git init
--bare xxx_sdk
3. sudo chmod 775 -R xxx_sdk
4. sudo chown root:gitgrp -R xxx_sdk
Client:
1. git clone name@192.168.0.124:/home/repos/git/proj/xxx_sdk xxx_sdk
2. git add file
3. git commit -a
4. git push origin master:master
沒有留言:
張貼留言