Support for password authentication was removed on August 13, 2021.解决办法大全

https://github.com/qssq/CustomTVDesktopLauncher.git
替换成
https://你的token@github.com/qssq/CustomTVDesktopLauncher.git
黑色加粗就是你需补充的内容,简单粗暴。
可直接推送,

image.png

还有一种办法是使用OpenSSH转Putty Key tortoriseGit提交的方法,这样同样避免了你不用再输入密码。
这个我另外写了一篇教程。https://www.jianshu.com/p/acd793f66af2

ok,上面说的使用开发工具和github desktop的填写token推送,关于token的创建下面的地址直达。

git.exe push --progress "origin" master:master
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/qssq/RobotDemoEngine.git/': The requested URL returned error: 403

翻译过来理解就是 2021年8月13日,已经移除了密码验证,无法通过这种输入git账户密码的方式提交了,那么
请使用个人访问token代替。至于为什么不让这样搞了官方提示访问下面网址查看原因
https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations
如果使用idea或者Android studio那么在设置里面能找到一个login for token,
点击generate也就是生成跳转到一个网址
https://github.com/settings/tokens/new?description=Android%20Studio%20GitHub%20integration%20plugin&scopes=repo%2Cgist%2Cread%3Aorg

image.png

输入github密码之后会跳转到如下界面 1. Settings

  1. Developer settings
    选择 Personal access tokens
    这是一个新建token界面,可以点击这个个人访问token返回,这里直接新建,新建完成之后
image.png
image.png

可以选择30天也可以选择永久的那种,

新建完成之后我创建了2个,点击一个进去,里面就有一个点击生成token


image.png

生成的token只能看一次,自己保存起来,再次进来又看不到了,提示要么重新生成。。

image.png

If you’ve lost or forgotten this token, you can regenerate it, but be aware that any scripts or applications using this token will need to be updated.

拷贝token在这开发工具里面填写进去就行了。

至于其他方法参考https://cloud.tencent.com/developer/article/1861466

你可能感兴趣的:(Support for password authentication was removed on August 13, 2021.解决办法大全)