The problem: somthing wrong when my computer excute the command "git clone XXXX"
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               //更新本地缓存文件
Solution2: about "ssh"
man -k ssh
Solution3:
https://www.jianshu.com/p/3b56f4e6ac77
  git config --global user.name "yourname"   //设置Git的user name和email
git config --global user.email "youremail"
// after these steps,生成SSH密钥
// cd ~/.shh 查看是否已经有了ssh密钥
  ssh-keygen -t rsa -C “youremail”  // 生成密钥
DISPLAY
作者:Smallwolf_JS
链接:https://www.jianshu.com/p/3b56f4e6ac77
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
按3个回车,密码为空
最后得到了两个文件:id_rsa和id_rsa.pub
在github上添加ssh密钥,这要添加的是“id_rsa.pub”里面的公钥
作者:Smallwolf_JS
链接:https://www.jianshu.com/p/3b56f4e6ac77
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
作者:Smallwolf_JS
链接:https://www.jianshu.com/p/3b56f4e6ac77
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
作者:Smallwolf_JS
链接:https://www.jianshu.com/p/3b56f4e6ac77
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
The problem: somthing wrong when my computer excute the command "git clone XXXX"的更多相关文章
- 【error】git clone: SSL certificate problem: unable to get local issuer certificate
		
报错: $ git clone https://github.XXX.git Cloning into 'XXX'... fatal: unable to access 'https://github ...
 - git Clone SSL certificate problem: self signed certificate
		
自己的git服务器遇到证书是自签的,git验证后会拒绝,此时,采用如下命令临时禁用就好 git -c http.sslVerify=false clone https://domain.com/pat ...
 - git clone 出错SSL certificate problem, verify that the CA cert is OK.
		
先调用这个 export GIT_SSL_NO_VERIFY=true 之后再执行git clone
 - Git clone出现SSL certificate problem
		
1 可以在cmd下,设置 git config --global http.sslVerify false git clone XXX 即可. 2 TortoiseGit设置 打开TortoiseG ...
 - 第七章 : Git 介绍 (上)[Learn Android Studio 汉化教程]
		
Learn Android Studio 汉化教程 [翻译]Git介绍 Git版本控制系统(VCS)快速成为Android应用程序开发以及常规的软件编程领域内的事实标准.有别于需要中心服务器支持的早期 ...
 - Git工作流指南:Gitflow工作流 Comparing Workflows
		
Comparing Workflows The array of possible workflows can make it hard to know where to begin when imp ...
 - git workflows
		
https://www.atlassian.com/git/tutorials/comparing-workflows Comparing Workflows The array of possibl ...
 - 从源码编译rpi的内核
		
Kernel Building https://www.raspberrypi.org/documentation/linux/kernel/building.md There are two mai ...
 - 文档整体解决方案(readthedocs、github 、sphinx)使用
		
这里是总结了一下,用的工具或者平台:readthedocs.github .sphinx. 使用这三个工具即可轻松创建高效的文档管理库,可以用来翻译,水平再高一点可以写书. readthedocs 文 ...
 
随机推荐
- windows ,linux永久和临时修改pip源
			
临时修改(建议)pypi镜像源方法:如果有untrust 报错,可使用https开头的网站,或加上--trusted 例如: pip install pywin32 -i http://mirrors ...
 - PyQt5设置图片格式及动画
			
1.缩放图片'''使用QImage.Scale(width,height)方法可以来设置图片'''from PyQt5.QtCore import *from PyQt5.QtGui import * ...
 - 语义化标签&唯一性标签
			
语义化标签 em\i表示倾斜,b\strong表示加粗,但其中只有strong和em具有着重的语义 img:alt属性当图片无法显示,显示alt的文字,根本需求是为了SEO,是必须属性,alt属性长度 ...
 - 吴裕雄 python 神经网络——TensorFlow训练神经网络:不使用隐藏层
			
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data INPUT_NODE = 784 ...
 - 与英特尔分道扬镳,苹果的5G业务掉队了吗?
			
5G概念已经大热,越来越多的厂商推出相关产品,中国骄傲之华为不仅在5G通信标准制定方面参与感非常强,也先于竞争对手推出5G智能终端,连同三星/Vivo等也纷纷推出5G终端,而作为智能手机市场绝对的利润 ...
 - JAVAWeb问题总结(持续更新)
			
1.在JSP页面头部,出现如下错误: 错误文本: Multiple annotations found at this line: - The superclass "javax.servl ...
 - System.Web.Compilation.BuildManager.CopyPrecompiledFile 並未將物件參考設定為物件的執行個體
			
使用MSBUild 的 aspnet_compiler.exe 发布网站, 过程中出现错误 [NullReferenceException]: 並未將物件參考設定為物件的執行個體  System.W ...
 - Linux - kali Linux重置密码
			
1. recovery mode -> E 2. ro -> rw 3. plus init=/bin/bash 4. passwd root
 - IP地址,子网掩码,网段表示法,默认网关,DNS服务器详解,DNS域名设计
			
本文参考:<计算机网络: IP地址,子网掩码,网段表示法,默认网关,DNS服务器详解> IP地址 概述 计算机要实现网络通信,就必须要有一个用于快速定位的网络地址.IP地址就是计算机在网络 ...
 - 2019年5月6日A股两百点暴跌行情思考
			
原因:特朗普推特发布贸易战消息 盘面:跳空低开,单边下跌,上证指数最大跌幅200点,收盘千股跌停 操作:开盘加仓,盘中加仓,尾盘满仓 总结: 特大黑天鹅事件爆发引发大盘暴跌时,后续必将迎来一个反弹机会 ...