服务端建立仓库:
1.git init --bare project1.git
客户端:
1.git clone root@ip:/git仓库路径
2.git conf ig user.name "user1"
git config user.email "user1@163.com"
3.echo "create file" > file
4.git add file
5.git commit -m "create file" file
6.git push origin master
7.git pull 更新
8.git checkout -b develop 创建分支并且切换到develop分支