
git
似轲
站在巨人的肩膀上敲代码
展开
-
git clone时遇到的问题:Please make sure you have the correct access rights and the repository exists.
clone github代码时碰到的问题,查了下报错是ssh key有问题1.重新设置下 自己的github名字和邮箱:git config --global user.name 'github.name'git config --global user.name 'github@email.com'2.删除.ssh下的known_hosts文件,手动删除即可3.输入g...原创 2019-07-12 01:10:05 · 885 阅读 · 1 评论 -
git提交github
配置用户名和邮箱:git config --global user.name '你的用户名'git config --global user.email '你的邮箱'提交文件:git pull(更新代码,防止冲突)git status(查看哪些文件有改动,需要提交)git add '需要提交的文件'git commit -m 'message'(可省略掉add命令,直接...原创 2019-07-31 23:14:21 · 90 阅读 · 0 评论 -
git报错:Permission denied (publickey). fatal: Could not read from remote repository.
作者:王老头出处:http://www.cnblogs.com/wmr95/p/7852832.html本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,并在文章页面明显位置给出原文链接,否则,作者将保留追究法律责任的权利。ternimal下出现下面错误:Permissiondenied (publickey).fatal:Could not read fro...转载 2019-07-31 23:20:43 · 3372 阅读 · 0 评论