藏匿Git错误“致命:远程错误:需要验证码" [英] Stash Git error "fatal: remote error: CAPTCHA required"

查看:171
本文介绍了藏匿Git错误“致命:远程错误:需要验证码"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用以下命令从我的Stash项目中提取信息:

Attempting to pull from my Stash project, using the following commands:

$ git remote add origin https://stash@stash.company.com/scm/~username/project.git
$ git pull origin develop

提示我输入密码,然后输入以下错误:

I'm prompted for my password, which I enter and then get the following error:

您的Stash帐户已被标记为需要先解决验证码 您可以再次登录.通常是由于尝试登录次数过多引起的 使用错误的密码.所需的CAPTCHA会阻止您的SCM客户端 即使您输入正确的密码,也可以访问Stash,直到解决为止. 如果您当前正在通过浏览器登录到Stash,则可能需要注销 然后重新登录以清除验证码.

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.

注销并重新登录无济于事.我该如何解决?

Logging out and back in again does not help. How do I fix this?

推荐答案

问题是网址格式错误:应该为

The problem was a malformed URL: it should be https://username@stash.company.com/scm/~username/project.git instead of stash@stash.

这篇关于藏匿Git错误“致命:远程错误:需要验证码"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆