【git】remote: You must use a personal access token with ‘read_repository‘ or ‘write_repository‘ scope

时间:2024-04-05 13:02:07

问题:

【git】remote: You must use a personal access token with ‘read_repository‘ or ‘write_repository‘ scope
解决方式:

在控制面板下的用户账户中:
【git】remote: You must use a personal access token with ‘read_repository‘ or ‘write_repository‘ scope

【git】remote: You must use a personal access token with ‘read_repository‘ or ‘write_repository‘ scope
之后在github/gitlab上设置一个新的Access Token,以gitlab为例:
1.点击右上角头像
2.点击左侧Access Token
【git】remote: You must use a personal access token with ‘read_repository‘ or ‘write_repository‘ scope
之后自行设置一个Token,注意权限的开启
【git】remote: You must use a personal access token with ‘read_repository‘ or ‘write_repository‘ scope
设置完成后使用access token将原密码覆盖。

over!