码迷,mamicode.com
首页 > 其他好文 > 详细

The problem: somthing wrong when my computer excute the command "git clone XXXX"

时间:2018-11-10 23:48:47      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:details   ble   配置文件   cut   tps   dpkg   auto   gre   install   

Error:git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Reason:I choose "n" when I first excute git clone command

Solution1:reinstall git

Source:

https://blog.csdn.net/weixin_42128364/article/details/81297741

sudo apt-get purge //常规卸载

sudo apt-get autoremove // 自动清理一些程序

sudo apt-get autoclean

dpkg -l |grep ^rc|awk ‘{print $2}‘ |sudo xargs dpkg -P XXX //删除不需要的配置文件

sudo apt-get update //更新本地缓存文件

 

The problem: somthing wrong when my computer excute the command "git clone XXXX"

标签:details   ble   配置文件   cut   tps   dpkg   auto   gre   install   

原文地址:https://www.cnblogs.com/jllin/p/9940883.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!