日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

fatal: unable to access : The requested URL returned error: 403

發(fā)布時間:2025/4/16 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 fatal: unable to access : The requested URL returned error: 403 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

錯誤提示如下

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文件中遠(yuǎn)程倉庫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,成功。原因是:私有項(xiàng)目,沒有權(quán)限,需要輸入用戶名密碼

總結(jié)

以上是生活随笔為你收集整理的fatal: unable to access : The requested URL returned error: 403的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。