首页 > 技术文章 > git的基本使用

xinrong2019 2017-01-21 20:15 原文

 

第一步,创建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

推荐阅读