git push报错:fatal: unable to access ‘https://github.com/***/‘:The requested URL returned error: 403
前言
又是被自己菜死的一天。
1.报错信息
使用git push命令后,报错信息如下:
remote: Permission to *** denied to .
fatal: unable to access 'https://github.com//': The requested URL returned error: 403
2.解决办法
当然在git push 之前生成teken是必要的,在设置里面开发者设置中Personal access tokens生成就可以了,注意生成之后需要复制生成的token,也就是生成页面的字符串。然后是windows的话git pull第一次输入的是GitHub的用户名和密码,第二次就是用户名和token了。
看了网上有很多教程,说是因为hhtps代理,ssh等原因。但是笔者犯的错误不是这些,而是一个低级的错误。
就是在fork开源项目的代码之后,需要把代码git clone下来。这里git clone的必须是自己fork的代码。而笔者是直接用的是之前git clone官方的代码,这样就导致了上面的报错信息。只要再git clone自己fork的代码重新再操作一遍就可以了。
总结
看来细心总是没有错的
git push报错:fatal: unable to access ‘https://github.com/***/‘:The requested URL returned error: 403相关推荐
- git push到远程仓库时出现unable to access 'https://github.com/**': The requested URL returned error: 403
出现这种问题主要是因为用其他的GitHub账号push时出错, 问题主要出在原注册账号上,系统保存了账号的信息.在使用新帐号时,信息不一致,所以报错. 解决方案 打开cmd,输入命令:rundll32 ...
- 【Linux】git clone报错fatal: unable to access ‘https://github.com/xxx.git/‘: Encountered end of file
目录 1.问题 2.解决 3.参考 1.问题 git clone代码时突然报错...貌似时不时遇到这个问题,这次遇到了准备简单mark下 git clone https://github.com/xx ...
- git clone 报错fatal: unable to access ‘https://github.com/xxxx‘: OpenSSL SSL_read
fatal: unable to access 'https://github.com/xiaohei0131/mc.git/': OpenSSL SSL_read: Connection was r ...
- 解决git在push时报错fatal: unable to access ‘https://github.com/sup0C/a.git/‘: errno 10054
解决git在push时报错fatal: unable to access 'https://github.com/sup0C/a-repository-for--git/': OpenSSL SSL_ ...
- 【报错fatal: unable to access ‘https://github解决办法】
报错fatal: unable to access 'https://github解决办法 方法一:修改host文件 方法二:把命令行里的http改为git重新执行 方法一:修改host文件 把140 ...
- git报错fatal: unable to access ‘https://github.com/‘: OpenSSL SSL_read: Connection was reset
bug描述 fatal: unable to access 'https://github.com/-': OpenSSL SSL_read: Connection was reset, errno ...
- git报错fatal: unable to access ‘https://github.com/.......‘: OpenSSL SSL_read: Connection was reset, e
fatal: unable to access 'https://github.com/-': OpenSSL SSL_read: Connection was reset, errno 10054 ...
- git报错”fatal: unable to access ‘https://github.com/defnull/bottle/‘: Empty reply from server“
问题: fatal: unable to access 'https://github.com/defnull/bottle/': Empty reply from server 解决办法: 将原命令 ...
- git报错fatal: unable to access ‘https://github.com/stephaniedurand/SeisTomoPy_V3.git/‘: gnutls_handsha
解决办法:将命令中的 https改为 git git clone git://github.com/ultralytics/yolov5\ 原文:传送门
最新文章
- bzoj 4871: [Shoi2017]摧毁“树状图”
- 操作系统课设--具有二级索引的文件系统
- Go使用mgo增删改查聚合操作
- webpack及node.js基础必会--path模块的常见操作
- Linux下文件系统目录结构
- 手把手教你用Spring Cloud和Docker构建微服务
- bzoj 1023: [SHOI2008]cactus仙人掌图(仙人掌求直径)
- unixbench分析_unixbench测试CPU性能工具
- nginx面试题及详解
- snownlp 原理_使用snownlp进行情感分析
- 免费的PPT素材网站
- 连续优化、离散优化、组合优化、整数优化和凸优化
- Early stopping conditioned on metric `val_loss` which is not available
- 高校云平台V3.1版总结
- 按键精灵_提取文字、数字、字母、符号的通用Function
- openCV 需要显示的图片太大超出了屏幕范围
- Tab页的两种写法 - jeesite记录
- windows 7z windows cannot create symbolic link : 客户端没有所需的特权。
- 推荐几款主流好用的远程终端连接管理软件
- 3dsmax-拓扑插件Wrapit使用
热门文章
- SpringBoot+Cloud+oauth2.0+JWT集成swagger及swagger-bootstrap-ui详细步骤
- RETAS HD更新2009年最终版四模块集成安装包
- 小白必看-最简单的VSCode C语言安装方法
- RPA教学:Python“奇怪的““特殊的“数字字符串处理
- 基于 RICS-V 架构的单周期处理器设计(含所有格式指令)—— 逻辑部件概述
- Delphi中判断一个日期是否是星期几、周末、工作日
- 使用coloc进行QTL数据的共定位分析
- 数据库发展与PostgreSQL生态系列文章二
- 2023年软考中级哪个好考?最全备考攻略
- 2022建筑电工(建筑特殊工种)考试题库及模拟考试