当前位置:   article > 正文

[GIT]:unable to access ‘xxx‘: The requested URL returned error: 403_unable to access the requested url returned error:

unable to access the requested url returned error: 403

问题描述:
拉取代码时会遇到下文的错误
unable to access ‘https://codeup.aliyun.com/xxxx.git/’: The requested URL returned error: 403

解决方案
在确认账号有权限以及代码库地址正确的前提下,可以看下是不是开启了密码缓存导致的。
使用以下命令禁用密码缓存:

 git config --local --unset credential.helper
 git config --global --unset credential.helper
 git config --system --unset credential.helper
  • 1
  • 2
  • 3

如果想要开启密码缓存,请执行下面的命令:

git config --global credential.helper store
  • 1

问题得到解决,可以愉快的coding了!!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/567560
推荐阅读
相关标签
  

闽ICP备14008679号