git push 异常问题及Personal access token的使用

// 对密码身份验证的支持已于 2021 年 8 月 13 日移除。请改用个人访问令牌。
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/duhongxing/iOS-Dev-Swift.git/': The requested URL returned error: 403

密码验证于2021年8月13日不再支持,不能再用密码方式去提交代码。请用使用 personal access token 替代。

生成 personal access token 如下图操作:


01.png
02.png
03.png
04.png
05.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容