git 突然 403
错误提示
[root@ip-172-31-76-59 smatdeals-go]# git pull
remote: [session-6140649f] Access denied
fatal: unable to access 'https://gitee.com/sh_base/smatdeals-go.git/': The requested URL returned error: 403
Linux 系统(凭据存在 ~/.git-credentials 或缓存中)
# 清除缓存的凭据
git credential-cache exit
# 删除明文存储的凭据文件(若存在)
rm -f ~/.git-credentials
rm -f ~/.config/git/credentials
# 重新拉取,会提示输入新凭据
git pull
 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号