zl程序教程

您现在的位置是:首页 >  工具

当前栏目

fatal: Authentication failed for ‘https://github.com/ShixiangWang/mytoolkit/‘ github token

GitHubFailedHTTPS for com Token fatal authentication
2023-09-14 09:16:03 时间

fatal: Authentication failed for 'https://github.com/ShixiangWang/mytoolkit/'

The error message you're encountering indicates that the password authentication method you're using is no longer supported by GitHub. As the error message suggests, you can find more information on the recommended authentication methods at the following URL:

About remote repositories - GitHub Docs

One recommended method for cloning a GitHub repository is to use a Personal Access Token (PAT) instead of your password. You can create a PAT by going to your GitHub settings, under the "Developer Settings" section, and then selecting "Personal access tokens".

Once you have created your PAT, you can use it in place of your password when cloning the repository, like so