- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我在 Windows 10 上使用 Git(可移植)。由于一些错误,我弄乱了用户名/密码及其缓存超时的配置。
我犯的错误是我还安装了适用于 Windows 的 Git(不可移植),我认为这是大多数问题的起点。但我不确定。现在我卸载了它,然后我又回到了 Git portable for Windows。
我曾经能够登录而不是每次都输入用户名/密码(对于 bitbucket)。现在我正在尝试重新设置 credential.helper 但我遇到了各种各样的问题。
1) 我经常收到这个消息:“git:'credential-cache' 不是 git 命令。”
不知道它来自哪里。以前我没有。
2) 我仍然被要求输入密码(不仅仅是第一次)。
3) 另外,我不确定 credential.helper 之前的值是多少。我猜它是 manager
,但我在 SO 上发现还有 wincred
。但是这个 wincred
看起来真的很老了。所以我想我应该将它设置为 manager
。
4) 顺便说一句,当我为 credential.helper 放置 manager
时,我得到一些奇怪的 bitbucket(类似浏览器) pop 窗口,我需要在其中输入我的用户名和密码(顺便说一句,在哪里这个 pop 窗口来自哪里?我没有从 bitbucket 安装任何东西?)。
但是当我输入用户名/密码时,它不接受它们并说:
fatal: HttpRequestException encountered.
An error occurred while sending the request.
git: 'credential-cache' is not a git command. See 'git --help'.
所以这次我需要从 cmd promt 输入它们,下次我需要在这个 pop 窗口中再次输入它们?!
我根本不想要这个 pop 窗口,我只想将我的用户名/密码保存在某个地方并缓存起来。我该怎么做?
在我的全局(Windows 用户级别)git 配置文件中,我有这个部分,但我不确定它是否正确。
[credential]
helper = cache --timeout=604800
helper = manager
最佳答案
你应该只有一个 credential.helper: manager。
尝试:git config -l --show-origin
对于您看到的每个 credential.helper,将其从其配置文件中删除。
然后输入:
git config --global credential.helper manager-core
(注2021:当前管理器为跨平台GCM -- Git Credential Manager Core项目)
最后,尝试 git push
到 bitbucket 存储库,重新输入您的用户名/密码(一次):这应该足够了。
虽然,check out this thread :
(20 June 2018): Recent changes to Bitbucket authentication has also meant that you must use your email (NOT your username) when logging in.
Currently, logging in with your username is still accepted but seems to cause several issues ranging from this repeated login prompt issue to the "too many login attempts" error when pushing
关于Windows 10 上的 Git - credential.helper 搞砸了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52282755/
我正在使用 git-credential-store与我的存储库。但是我注意到当我运行 git push 它启动git-credential-cache--daemon 并且在我关闭终端之前不会关闭它
这些是我正在使用的导入: import com.novell.ldap.*; import java.io.UnsupportedEncodingException; 我正在尝试进行一个非常简单的密码
我的 hdp 集群配置了带有 AD 的 kerberos。所有 HDP 服务帐户都生成了主体和 key 表,包括 spark。 我知道服务帐户没有密码并设置为未过期。现在在执行 kinit -kt s
服务器不能只是将临时凭证“升级”为 token 凭证并保留相同的 key 和 secret 吗? 然后,客户端可以在收到来自服务器的说明临时凭据已“升级”的回调后立即开始进行经过身份验证的调用。 当然
Apache Camel 与 AWS S3 接口(interface)良好,但我发现它没有正确构建的场景。回顾我在网上看到的所有 Camel 示例,我从未见过有人在非本地环境中使用推荐的行业标准 AW
大家好,我遇到了一个问题,这是我第一次为支付门户设置 Mutial SSL,下面的代码是我正在使用的代码,我得到的错误是: System.Web.Services.Protocols.SoapExce
我创建了一个 server.keystore,然后是一个 client.keyStore 和一个 client.crt,我用它来做 client.truststore 别名为 devmyserverk
我正在尝试从 AngularJS 页面连接到 ASP.NET Web-API Web 服务,我得到以下信息 Credentials 标志为“true”,但“Access-Control-Allow-C
Windows 更新后,出现保存凭据问题,rdp 总是询问密码,无法保存。原因是 Windows Defender Credential Guard。如何解决这个问题? 最佳答案 我的解决方案在这里,
我正在使用 react-native-facebook-login 包来登录用户。目前流程运行良好,在用户输入他们的详细信息后,我成功地看到了一个带有他们信息的对象。 当我尝试使用 signInWit
在使用 Sourcetree 时,我不断收到错误 git: 'credential-oskeychain' is not a git command. See 'git --help'. 我很确定应该
“根账户凭证”和“IAM 用户凭证”之间有什么区别? 还有一个问题: 根据描述,建议使用“IAM 用户凭据”,但无法使用“IAM 用户凭据”在 S3 中访问 你能解释一下这是为什么吗? 最佳答案 您的
Spring 3.1Tomcat 6.* 我正在制作一个 Spring 3.1 webapp,使用 LDAP 进行身份验证。 我用我编写的 JNDI 风格的 Java 程序(引述如下)测试了 LDAP
Authentication authentication = authenticationManager.authenticate( new UsernamePasswordAuthenti
我正在使用 firebase Admin SDK,但我在运行时收到此错误: Error:(22, 36) java: cannot access com.google.auth.Credentials
vscode 1.45.1版本使用克隆存储库时,我收到“Bad credentials”。最近我在github上换了用户名。可能就是这个原因。我如何告诉vs code?
我已经为 Classroom API 实现了 Java QuickStart,但在运行时收到错误消息“java.io.FileNotFoundException:未找到资源:/credentials.
我正在使用 Jenkins 主/从设置。我希望 Jenkins 有一个凭证信息“来源”。不是散落在各处的 key /密码。 因此,我不想在 Jenkins 中定义我的 SCM(使用来自 Jenkins
使用azure aks get-credentials --admin可以获取kubernetes管理配置文件,azure aks get-credentials只能获取azure上的用户配置文件。
使用azure aks get-credentials --admin可以获取kubernetes管理配置文件,azure aks get-credentials只能获取azure上的用户配置文件。
我是一名优秀的程序员,十分优秀!