Loading

git的基本使用

 

第一步,创建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
posted @ 2017-01-21 20:15  元宝爸爸  阅读(241)  评论(0编辑  收藏  举报