官网给的解决方案

https://docs.gitlab.cn/jh/user/profile/personal_access_tokens.html
按照官网的描述我们生成了一个token也就是令牌,然后复制保存好
之后访问git的时候 我们需要自行进行拼接访问:
项目的HTTPS下载地址为:https://git.com/ab/abc.git
拼接之后的git clone 地址为:https://oauth2:abcdefg@git.com/ab/abc.git,
也就是说ip前面加上 oauth2:令牌。
网友评论