簡體   English   中英

遠程:未找到存儲庫。 Git pull 顯示致命:使用訪問令牌時未找到存儲庫“https://github.com/username/repositoryname.git/”

[英]remote: Repository not found. Git pull shows fatal: repository 'https://github.com/username/repositoryname.git/' not found when using access token

我創建了一個訪問令牌,當我使用它而不是密碼來拉它時會拋出以下內容

remote: Repository not found. Git pull shows fatal: repository 'https://github.com/username/repositoryname.git/' not found

實際上,沒有為生成的令牌正確授予權限。 在我設置了適當的權限后,它工作正常。 轉到https://github.com/settings/tokens並選擇您生成的令牌,然后您可以看到權限復選框。 選擇適當的權限並更新。 現在您的令牌將按預期正常工作

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM