使用碼雲將倉庫clone到本地,報錯信息如下:
D:\123>git clone https://gitee.com/ycyzharry/helloworld.git Cloning into 'helloworld'... remote: Incorrect username or password ( access token ) fatal: Authentication failed for 'https://gitee.com/ycyzharry/helloworld.git/'
后面繼續clone時候以為會彈出登錄窗口,結果直接提示用戶名或密碼錯誤。
解決辦法:
打開電腦的控制面板–>用戶賬戶–>憑據管理器
找到普通憑據git:https://gitee.com這一欄,選擇編輯,填入正確的用戶名和密碼,最后點擊保存即可。