git 笔记

1.右键打开git

2.先登录
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

3.克隆项目
git clone "地址"

4.本地库上传到服务器
git push -u origin master


------------
1.本地提交
git add .
git commit -m "说明"


-----------
获取SSH 秘钥
ssh-keygen -t rsa -C "your_email@youremail.com"

原文地址:https://www.cnblogs.com/fxd980519/p/12217842.html