2015年12月7日

git 理解和使用

摘要: CREATEClone an existing repository$ git clone ssh://user@domain.com/repo.gitCreate a new local repository$ git initLOCAL CHANGESChanged files in your... 阅读全文

posted @ 2015-12-07 15:20 阳光下的小草 阅读(238) 评论(0) 推荐(0) 编辑

github ssh key Key is invalid. Ensure you've copied the file correctly解决办法

摘要: 此错误出现原因是:在github上添加新key时,不正确到拷贝了~/.ssh/id_rsa.pub内容所致。一般发生在linux下,因为windows下用notepa++打开这个文件并复制一般是没有问题的,而linux下使用vim打开再复制就会因为vim添加了回车而导致key添加失败。解决办法是:使... 阅读全文

posted @ 2015-12-07 12:48 阳光下的小草 阅读(1169) 评论(0) 推荐(0) 编辑

导航