如果你github提交代码,报错remote: Support for password authentication was removed on August 13, 2021.

获取token的方式,请阅读https://blog.csdn.net/weixin_41010198/article/details/119698015

设置提交仓库地址的方式参考:

git remote set-url origin https://<your_token>@github.com/<USERNAME>/<REPO>.git
原文地址:https://www.cnblogs.com/zhizhi0810/p/15149816.html