相关疑难解决方法(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万
查看次数

Github for Windows Pull Request for remote Bitbucket Repo

基于这个教程,我能够成功地将Github for Desktop与我的远程Bitbucket repo连接起来.

看一下示例教程repo,我看到应用程序中内置了一个Pull Request选项 - 很棒:

在此输入图像描述

但是,当我选择远程Bitbucket repo时,该选项丢失了:

在此输入图像描述

我找不到任何对此负责的选项.

有谁知道这种行为有什么影响?

github-for-windows

10
推荐指数
1
解决办法
234
查看次数

标签 统计

git ×1

git-bash ×1

git-config ×1

github-for-windows ×1

msysgit ×1