git报错#Support for password authentication was removed on August 13,2021.
用这个命令:
git remote set-url 远程仓库名(默认为origin) https://口令@github.com/用户名/仓库名称.git
git remote set-url origin https://1234567890@github.com/zhangsan/ceshi.git
口令获取方式:
github主页->settting->Developer settting->Generate new token->创建成功
然后复制那一串字符,就是口令。