git Your account has been blocked
Posted 酷酷的糖先森
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git Your account has been blocked相关的知识,希望对你有一定的参考价值。
今天早上一来,跟往常一样 pull代码,结果出错了。
GitLab: Your account has been blocked.
fatal: Could not read from remote repository.
原因:查了半天,只是说git服务器上有人修改配置了,或者账号异常等等。在git的账号管理上,不少人都标记了blocked状态。
经过查证:有技术人员对LDAP服务进行了修改/迁移,并对部分账户增加了额外信息,造成git服务的中之前保存的域账户信息和调整后的信息不一致,从而触发了账户锁定。
解决方案:
(1)技术部统一解除锁定,这个在GIT管理中设定,一般咱普通老百姓整不了,就用第二种。
(2)重新设置下远程url即可
$ git remote set-url origin git@yourhost.com:org/project.git
如果不生效,切记还要做一个操作:
可以先将git地址改为http方式,然后再换回ssh方式。只需要改一个项目,其他项目也就都恢复了。 编程
以上是关于git Your account has been blocked的主要内容,如果未能解决你的问题,请参考以下文章
git Your account has been blocked
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘
开机后几秒钟就会出现:Warning!!Your computer chassis has been opening!! 怎样取消
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.
VsCode问题:CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.C