anancds / document

MIT License
1 stars 0 forks source link

git更新用户名、密码后报remote: HTTP Basic: Access denied错误 #178

Open anancds opened 2 years ago

anancds commented 2 years ago

2.取消已经保存的credential: git config --global --unset credential.helper

3.取消已经保存的username:git config --global --unset credential.username

4.执行git clone ****,输入用户名/密码,删除已下载代码仓。重复上述下载动作,再删除已下载代码仓。

  1. 保存步骤二用户名密码:git config --global credential.helper store
anancds commented 7 months ago

4、git mm credential –clean

5、git mm credential install

6、git mm credential --store -u='工号' -p='域账号密码或token'

7、git config --global http.sslverify false

anancds commented 7 months ago

git mm credential --store --host=szv-open.codehub.huawei.com -u=用户名-p='密码'