root@DESKTOP-0CU081I:/# git clone https://github.com/petergeoghegan/benchmarksql Cloning into 'benchmarksql'... fatal: unable to access 'https://github.com/petergeoghegan/benchmarksql/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.怎么解决
时间: 2023-08-11 20:08:42 浏览: 62
这个错误通常是由于网络连接问题引起的,建议您尝试以下几种方法来解决它:
1. 检查您的网络连接是否正常,可以尝试重新启动您的网络设备或者更换网络环境。
2. 检查您的防火墙设置,确保您的防火墙没有阻止 Git 访问 GitHub。
3. 尝试使用 SSH 协议克隆代码库,这样可以避免 HTTPS 连接中断的问题。
4. 如果以上方法都不能解决问题,您可以尝试通过代理访问 GitHub,或者通过 VPN 连接到其他地区的网络。
相关问题
git clone https://github.com/AlexeyAB/darknet.git
As an AI language model, I cannot clone a GitHub repository. However, I can guide you through the process of cloning a GitHub repository using the command "git clone" in your terminal or command prompt.
1. Open your terminal or command prompt.
2. Navigate to the directory where you want to clone the repository.
3. Enter the following command: git clone https://github.com/AlexeyAB/darknet.git
4. Press Enter.
This will clone the repository from GitHub to your local machine. You can now navigate into the cloned directory and start working with the files.
fatal: Authentication failed for 'https://github.com/NudtCalculus/PoseGraphOptimizationDemo.git/'
这个错误提示意味着你在使用HTTPS URL进行身份验证时出现了身份验证失败的情况。根据引用和引用中的信息,可以查看https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls,了解有关当前推荐的身份验证方式的详细信息。
另外,在引用中提到,如果你获得了个人访问令牌(token),你可以在首次克隆代码时使用这个令牌。具体命令如下:
```
git clone https://<token>@github.com/<username>/<reponame>.git
```
其中,`token`是你创建的访问令牌,`username`是你的GitHub用户名,`reponame`是远程仓库的名称。
希望这个信息可以帮助你解决身份验证失败的问题。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)