解决git push 中remote: Permission to xxxxx.git denied to xxx. fatal: unable to access xxxx 403(转)
问题复现
你在切换多个github账号的时候,很容易出现下面的这种问题
问题描述
今天我在使用git push 将修改的项目push到github中,出现:
remote: Permission to xxxxx.git denied to xxx.
fatal: unable to access 'https://github.com/ xxxxx.git/': > The requested URL returned error: 403
解决方案
第一步,将github中的项目clone下来
第二步,修改.git/cofig中的url
cd 到项目中,编辑 .git/cofig中的url
vim .git/config
将
[remote "origin"]
url = https://github.com/git的用户名/项目名称
的url改为
url = https://appleyuchi@github.com/appleyuchi/TPU_GPU_Code.git
第三步,git push -u origin master
这里附带记录一个小命令:
git config --list
解决git push 中remote: Permission to xxxxx.git denied to xxx. fatal: unable to access xxxx 403(转)相关推荐
- 解决git push 中remote: Permission to xxxxx.git denied to xxx. fatal: unable to acce
解决git push 中remote: Permission to xxxxx.git denied to xxx. fatal: unable to acce 解决方案一 解决方案二 解决方案一 第 ...
- remote: Permission to xxx.git denied to xxx. fatal: unable to access 'https://github.com/xxx.git/':
remote: Permission to xxx.git denied to xxx. fatal: unable to access 'https://github.com/xxx.git/': ...
- 三种方法解决git拒绝连接问题fatal: unable to access xxxx: Failed to connect to xxxx : Connection refused
git clone 拒绝连接,Connection refused 解决方法 一.使用env指令查询系统代理并取消对应http代理 二.使用git config指令查询代理并取消代理 三.直接修改.g ...
- 三种方法解决git拒绝连接问题fatal: unable to access xxxx: Failed to connect to xxxx : Connection refused
git clone 拒绝连接,Connection refused 解决方法 一.使用env指令查询系统代理并取消对应http代理 二.使用git config指令查询代理并取消代理 三.直接修改.g ...
- git 问题解决之remote: Permission to xxx/xxx.git denied to xxx.
Git问题总结: 1.$ git push origin :dev-xx remote: Permission to xxx/xxx.git denied to xxx. fatal: unable ...
- 解决git push时报“remote: You are not allowed to upload code“的报错
git 的时候报错 remote: You are not allowed to upload code. fatal: unable to access '': The requested URL ...
- 【git push指令提交项目报错】 fatal: unable to access ‘https://github.com/xxxxx/xxx.git/‘: OpenSSL SSL_read: Co
在用git push指令提交项目时,由于网络等各种原因时常报错,针对以下几个问题,本文提供解决方法,亲测有效! 问题一: fatal: unable to access 'https://github ...
- 解决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.com/xxxxx/xxxx.git/‘: OpenSSL SSL_read: Con
关于GitHub新建仓库过程中的fatal: fatal: unable to access 'https://github.com/xxxx/xxxxx.git/': OpenSSL SSL_rea ...
最新文章
- ubuntu安装时N卡黑屏处理
- 微信小程序打开PDF
- @transactional 接口_Spring事物(@transactional注解)在什么情况下会失效,为什么?...
- 面向对象编程设计模式--简单工厂模式讲解(历史上最简单明白的例子)
- 【每日SQL打卡】​​​​​​​​​​​​​​​DAY 9丨平均工资:部门与公司比较【难度困难】
- Qt工作笔记-QTreeWidget中调用setHeaderItem设置头后,不能addChild
- 人渣scum服务器物品,人渣SCUM可以采集物品一览_可采集食物大全_可可网
- Error: listen EACCES: permission denied 0.0.0.0:80
- mysql 查询 更新属性值_MySQL-在一个查询中更新具有不同值的多行
- 设计模式--工厂模式(c++)
- Linux新硬盘的使用
- 关于hadoop HDFS进行读写文件操作的问题
- ROS:ModuleNotFoundError: No module named ‘rospkg‘
- 库卡机器人emd价格_什么是机器人零点标定?以kuka机器人为例
- Python 从入门到入魔
- STM32——CAN通信实验
- oracle不产生特定表的归档,oracle数据库归档与非归档
- 数字化改革是逼不得已,最后却帮我提高了20%生产效率
- 让你的工作更高效!快来看看如何使用内网穿透
- 选择隔离电源还是非隔离电源?
热门文章
- 依赖注入利器 - Dagger ‡
- 初探Stage3D(一) 3D渲染基础原理
- 一道面试题,我自己的解法
- (转)JAVA正则表达式语法大全
- CVE-2015-1635(MS15-034)-HTTP.sys远程代码执行复现
- I春秋第四季CTF-Web-Writeup(部分)
- 公需科目必须学吗_税务师要继续教育吗,2019税务师怎样继续教育?
- mysql php 新手卡生成_PHPMaker(基于MYSQL数据库自动生成PHP 脚本的软件)
- typescript函数使用
- 使用HTML5 details,summary实现,展开,下拉,树的效果