配置Github使用Token登錄驗證

出自 YTYZX有图有真相的百科
於 2021年12月19日 (日) 13:44 由 Ytyzx (對話 | 貢獻) 所做的修訂
前往: 導覽搜尋
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/zhoulujun/algorithm.git/': The requested URL returned error: 403


如果您有令牌,則可以在通過 HTTPS 執行 Git 操作時輸入令牌,而不是密碼。

例如,在命令行中輸入以下內容:

$ git clone https://github.com/username/repo.git Username: your_username Password: your_token