第一步,创建SSH Key
ssh-keygen -t rsa -C "youremail@example.com"
第二步,git操作推送本地工程到远程服务器
git init git add . git commit -m "first commit" git remote add origin 仓库地址 git push -u origin master
git的基本使用
原文:http://www.cnblogs.com/wozixiaoyao/p/6337603.html