相关疑难解决方法(0)

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万
查看次数

标签 统计

git ×1

git-bash ×1

git-config ×1

msysgit ×1