fatal: unable to access : The requested URL returned error: 403
来源:互联网 发布:sqlserver is null 编辑:程序博客网 时间:2024/05/01 17:40
错误提示如下
C:\Users\AllenIverson\Desktop\gitbook-test>git push -u gitbook masterremote: Forbiddenfatal: 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 = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true[remote "gitbook"] url = https://alleniverson@git.gitbook.com/alleniverson/mybook.git fetch = +refs/heads/*:refs/remotes/gitbook/*
再次push,依然是403,再次修改,添加username:password@,如下
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true[remote "gitbook"] url = https://alleniverson:mypassword@git.gitbook.com/alleniverson/mybook.git fetch = +refs/heads/*:refs/remotes/gitbook/*
再次push,成功。原因是:私有项目,没有权限,需要输入用户名密码
0 0
- fatal: unable to access : The requested URL returned error: 403
- Push failed fatal: unable to access 'https://github.The requested URL returned error: 403
- the requested url returned error: 403
- linux 使用 git The requested URL returned error: 403
- git push报错 The requested URL returned error: 403
- git push 报 The requested URL returned error: 403 错误
- github push代码出现“The requested URL returned error: 403”
- git The requested URL returned error:443
- error: The requested URL returned error: 401 Unauthorized while accessing
- "error: The requested URL returned error: 403 Forbidden while accessing“(git错误)
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- error: The requested URL returned error: 403 while accessing https://jacsice@github.com/jacsice/hous
- error: The requested URL returned error: 403 Forbidden while accessing https://github.com/blah/blahb
- error: The requested URL returned error: 403 Forbidden while accessing https://github.com/blah/blah
- error: The requested URL returned error: 403 Forbidden while accessing https
- git clone error: The requested URL returned error: 403 Forbidden while accessing.
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- Centos下git push提示“error: The requested URL returned error: 403 Forbidden while accessing”
- java中Comparable与Comparator的区别与用法
- 串的模式匹配-BF算法
- Java从键盘接收单个字符并转化为Unicode
- 010-图像移动与对齐
- python爬取学校体育部的跑超数据并用Tkinter写出应用并进行封装生成exe文件
- fatal: unable to access : The requested URL returned error: 403
- [BZOJ3223][Tyvj1729]文艺平衡树
- 四元傅里叶显著性图-四元数-Matlab编程
- Android多线程多进程学习网址
- 图像处理之简化色彩(含OpenCV代码)
- int64
- 我的第二次RNAseq分析
- LCD驱动程序(四)测试
- 求n以内的最大素数,若n最大为21亿