相关疑难解决方法(0)

如何更新Git的密码?

我正在使用BitBucket和Xcode以及Git进行版本控制,最近我更改了所有密码(感谢Adobe!).

不出所料,我不再能够在BitBucket(Authentication failed for 'https://______.git')上将我的本地提交推送到我的存储库,但我忘记了如何更新我的iMac上的缓存密码.不知怎的,我一直无法在Google或Stack Overflow上找到它,虽然在我看来它应该相当简单......

git macos change-password

444
推荐指数
24
解决办法
47万
查看次数

git:'credential-cache'不是git命令

我按照这些说明来写信,包括有关密码缓存的部分.似乎说明是错误的,因为每次git push origin master我收到此错误:

git: 'credential-cache' is not a git command. See 'get --help'.
Run Code Online (Sandbox Code Playgroud)

...此时我被迫输入我的用户名和密码.这样做之后,我再次收到相同的错误消息,然后是输出git push.

这是我的.gitconfig文件的内容:

[user]
    name = myusername
    email = myusername@myemaildomain.com
[credential]
    helper = cache
Run Code Online (Sandbox Code Playgroud)

要清楚,在我安装Git并运行Git Bash之后,这就是我输入的内容:

git config --global user.name "myusername"
git config --global user.email "myusername@myemaildomain.com"
git config --global credential.helper cache
Run Code Online (Sandbox Code Playgroud)

请帮忙.这太令人沮丧了!

git msysgit git-config git-bash

249
推荐指数
12
解决办法
12万
查看次数

在Intellij IDEA 14上更改远程存储库凭据(身份验证)

出于安全原因,我最近更改了我的Bitbucket密码.但是,IntelliJ没有将我的存储库更新为新的凭据,因此它阻止我将任何东西拉/推送到我的存储库.我没有使用任何插件,只是在IDE中集成的VCS操作.

每次拉/推,都弹出:

致命:' https:// momothereal:xxxxxxxxxxxx@bitbucket.org/team/repo.git/认证失败

其中xxxxxxxxxxxx是我的旧密码.我想用正确的密码更改这个远程地址会修复它,虽然我找不到在哪里这样做.

java git bitbucket intellij-idea

117
推荐指数
9
解决办法
13万
查看次数

git remote上的身份验证失败

我正试图从VSCode向我的Github存储库推送,拉取任何东西.
我输入了我的用户名和密码,但我收到的错误是Authentication failed on the git remote.
我刚刚使用相同的用户/通行证登录github.com.
我尝试创建个人访问令牌,使用它作为密码,同样的错误.

visual-studio-code

22
推荐指数
3
解决办法
2万
查看次数

git 身份验证的应用程序密码(bitbucket 和 sourcetree)

当我尝试推送时,sourcetree 显示以下错误。

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags ruling master:master
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/xxxxxxx/ruling.git/'
Run Code Online (Sandbox Code Playgroud)

所以我去了https://bitbucket.org/account/settings/app-passwords/ 创建应用程序密码,添加密码标签,并选择权限。

但推送仍然不起作用,并且出现相同的错误消息。

之后,我不知道该怎么办。请告诉我下一步应该做什么。

git bitbucket atlassian-sourcetree

2
推荐指数
1
解决办法
4677
查看次数