Stash Git error “fatal: remote error: CAPTCHA required”

出现情境:公司的电脑logid登录密码是每三个月换一次,stash的账号密码就是公司logid的密码,logid密码还完之后,stash的密码也就跟着换了。在sourceTree上commit东西之后,push的时候给出了如下反馈:

img

用终端命令git push的时候也照样给出这样的error:

danielle:aia_hk_ipos_ios Danielle$ git push

fatal: remote error: CAPTCHA required

Your Stash account has been marked as requiring a CAPTCHA to be solved before

you may login again. This is typically caused by too many attempts to login

with an incorrect password. The required CAPTCHA prevents your SCM client from

accessing Stash until it is solved, even if you enter your password correctly.

 

If you are currently logged in to Stash via a browser you may need to logout

and then log back in in order to clear the CAPTCHA.

 

Visit Stash at http://aiahk-stash.aia.biz for more details.

 

一开始不太清楚是怎么回事,上网上百度看到类似问题有人用git clean -f解决的。试过了,对我这个不起作用。

最后通过清除Keychain里的关于stash的所有存储信息。然后登录web端的stash,输入账号和新密码。重新登录sourceTree,输入新密码。再push,ok。

 

其实就是因为stash的密码重置了,然后清除mac电脑本地的缓存,重新登录就可以了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值