fatal: unable to access : The requested URL returned error: 403
错误提示如下
C:\Users\AllenIverson\Desktop\gitbook-test>git push -u gitbook master
remote: Forbidden
fatal: unable to access 'https://git.gitbook.com/alleniverson/mybook.git/': The requested URL returned error: 403
在使用Git向GitBook仓库push(推送)更新的时候遇到的问题,Google了一下,在.git文件夹下的config文件中远程仓库url添加username@,如下
[core]repositoryformatversion = 0filemode = falsebare = falselogallrefupdates = truesymlinks = falseignorecase = true
[remote "gitbook"]url = https://alleniverson@git.gitbook.com/alleniverson/mybook.gitfetch = +refs/heads/*:refs/remotes/gitbook/*
再次push,依然是403,再次修改,添加username:password@,如下
[core]repositoryformatversion = 0filemode = falsebare = falselogallrefupdates = truesymlinks = falseignorecase = true
[remote "gitbook"]url = https://alleniverson:mypassword@git.gitbook.com/alleniverson/mybook.gitfetch = +refs/heads/*:refs/remotes/gitbook/*
再次push,成功。原因是:私有项目,没有权限,需要输入用户名密码
fatal: unable to access : The requested URL returned error: 403相关推荐
- fatal: unable to access 'xxxxxxxxxxxxx':The requested URL returned error: 403
完整报错如下 remote: Permission to appleyuchi/Front_Design.git denied to SomeNews. fatal: unable to access ...
- 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 a ...
- push代码至gitee码云报错unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403
第一次使用idea整合gitee插件用来push代码的时候,不小心输错了用户名或密码,导致后续push代码,一直报错:unable to access 'https://gitee.com/*/git ...
- git push提交代码到服务器报remote: [session-xx] Access denie The requested URL returned error: 403
操作: 执行git push -u origin master,我想把commit的代码直接提交到远程的仓库,哪知道直接给我一个报错: remote: [session-xxx] Access den ...
- 关于The requested URL returned error: 403
fatal: unable to access 'https://github.com/zkhmqyiqi/huashan.git/': The requested URL returned erro ...
- 解决github push错误The requested URL returned error: 403 Forbidden while accessing(转)
github push错误: git push error: The requested URL returned error: 403 Forbidden while accessing https ...
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
2019独角兽企业重金招聘Python工程师标准>>> git提交代码时,出现这个错误"error: The requested URL returned error: 4 ...
- git错误: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/futu
github push错误: git push error: The requested URL returned error: 403 Forbidden while accessing https ...
- git -- RPC failed; HTTP 403 curl 22 The requested URL returned error: 403
错误: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 原因: 账户没有读写权限,联系管理索要权限 排查方法: 使 ...
最新文章
- php中instanceof的使用
- 新闻资讯小程序开发实践
- CSP认证201609-4	交通规划[C++题解]:最短路径树、dijkstra求单源最短路、递推思想
- ViewModel优雅的弹加载窗和获取Context
- Amazon EC2 AMI实现X11 forwarding【从MobaXterm打开浏览器和图形界面】
- 木七七施辰刚:我是这样将玩家次留提升了 5% 的
- linux 配置tensorflow 全过程记录
- 服务人员在Hybris ASM手动分配coupon给某个客户
- executable file and DLL
- 在控制台环境下调用MFC DLL崩溃的问题小结
- redis缓存Hash操作的在主数据中的应用
- 使用C语言快速统计fastq文件q20、q30、GC含量
- qq物联网 android sdk,qcloud-iot-sdk-android
- 48搜索相关参数梳理以及bouncing results问题解决方案
- 【尚硅谷】Vue.js从入门到精通笔记
- 计算机网络习题篇(一)
- mac 苹果鼠标 magic mouse2 当触摸代替点击当触摸板教程
- 乐高计算机游戏泡泡龙的目标,乐高游戏教案
- Pb数字变成英文字母金额
- 14家国内外医药行业协会于国际医药创新大会联合签署《医药创新宣言》