bitbucket遇到remote error: CAPTCHA required错误解决

项目使用bitbucket做的私有git仓库,我的员工工号对应的密码修改了,导致今天pull代码时显示:remote error: CAPTCHA required

解决方法:

先去bitbucket使用你的新密码登录一下。再按照下面的步骤操作。

(仅适用于windows)

1,打开控制面板(快捷打开win+R,输入control);

2.点击打开用户账户;

bitbucket遇到remote error: CAPTCHA required错误解决

3.点击打开凭证管理(windows凭证管理栏)

bitbucket遇到remote error: CAPTCHA required错误解决

4.普通凭证下拉打开修改你已存在的git账号密码

bitbucket遇到remote error: CAPTCHA required错误解决
bitbucket遇到remote error: CAPTCHA required错误解决

打开你要修改的那个,点击修改即可

其实删除也可以。使用git时,会让你再次输入认证信息。

5.再次pull代码
回到git再次尝试,发现还是报错。
别急,仔细看下错误说明

fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password
correctly.
If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.

原来是需要我们去浏览器上重新登录一下。
退出,然后重新登录时,会有一个认证。做一下就好了。


bitbucket.png

然后又可以愉快的敲代码了

推荐阅读更多精彩内容