git的使用

git clone 地址


C:UsersAdministrator.ssh
ssh密钥放到码云上。


提交:进入到项目文件夹内
右击,git bash Here
git status


git add .
//本地提交,-a 提交所有文件   m message 日志
git commit -am “提交修改啦”


//推送到远程仓库,提交之前要git pull
git push


//远程代码更新到本地
git pull




//帮助说明
git.oschina.net/progit


//注意添加的是个人公钥
//无提交权限Please make sure you have the correct access rights
and the repository exists.
删除C:UsersAdministrator.ssh
重新生成 ssh-keygen  回车 回车
原文地址:https://www.cnblogs.com/idjl/p/9610589.html