
git
mjlfto
这个作者很懒,什么都没留下…
展开
-
提交代码到GitHub SSH错误解决方案
tatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists. 看字面的意思就是连接超时了,什么原因造成的呢,这个估计是无法连接到远程git服务器, 原因是git服务器要求采用ssh连接,可用如下方法解决:运行原创 2016-12-22 11:54:40 · 804 阅读 · 0 评论 -
git 命令小结
基本命令git init [以当前目录为工作区,创建缓存区] git add [file] [添加修改到缓存区] git commit -m ” [提交更改] git status [查看当前状态,是否存在更改为提交] git diff [file] [查看文件修改前后差异] git c原创 2017-07-12 20:12:32 · 277 阅读 · 0 评论