服务器上:
1 mkdir taobao
2 cd taobao
3 git –bare init
客户端:使用命令行
1 mkdir taobao
2 cd taobao
3 git init
4 git add .
5 git commit -am ‘init ‘
6 git remote add origin ubuntu@x.x.x.x:/home/svn/git/taobao
7 git push origin master
使用GUI,下载tortoiseGit .
制作ssh key ,用puttygenerate ,生成tortoisegit 使用的 ppk密钥。
在putty中加入就可以不用输密码同步数据了。