Support for password authentication was removed on August 13, 2021 解决方案

打开你的github,Setting 点击Developer settings。

Support for password authentication was removed on August 13, 2021 解决方案_第1张图片

点击generate new token

Support for password authentication was removed on August 13, 2021 解决方案_第2张图片

按照需要选择scope

Support for password authentication was removed on August 13, 2021 解决方案_第3张图片

生成token,以后复制下来。

Support for password authentication was removed on August 13, 2021 解决方案_第4张图片

给git设置token样式的remote url

git remote set-url origin https://你的[email protected]/你的git用户名/仓库名称.git

然后就可以正常访问了。

你可能感兴趣的:(git,Git)