git push错误
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
解决方案:
登录github → Settings → Developer settings → Personal access tokens → Generate new token
复制新生成的token(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),执行:
1
git remote set-url origin https://$new-token@github.com/$username/$repo-name.git
重新push即可
If the images or anything used in the blog infringe your copyright, please contact me to delete them. Thank you!