Git的操作方法

创建仓库

git clone 加上你的远程仓库克隆下来

git add . 把你文件里面的改动更改添加到git里面

git status 查看状态,更新了那些内容

git commit -m" 备注"

//以上都是本地操作

git push origin master 把你更改的东西提交到码云(和远程仓库同步你更改的内容)

git pull 把远程仓库的内容同步到本地(下载到本地)

生成公钥的方法 

1 ssh-keygen -t rsa

2 cat ~/.ssh/id_rsa.pub

原文地址:https://www.cnblogs.com/gfweb/p/9655600.html