Git凭证助手不起作用

cor*_*zza 4 linux git authentication credentials opensuse

我刚刚安装了随Git版本1.8.1.4一起提供的openSUSE.

在使用此行配置凭据帮助程序之后,我正在尝试推送一些存储库:

git config --global credential.helper 'cache --timeout=3600'
Run Code Online (Sandbox Code Playgroud)

这一行不会引发任何错误.

但是,在我最初输入凭据并期望将其缓存后,凭据帮助程序不起作用.它吐出这条消息:

error: cannot run git-credential-cache--daemon: No such file or directory  
fatal: unable to start cache daemon: No such file or directory
Run Code Online (Sandbox Code Playgroud)

为什么会发生这种情况,我该如何解决?

Joh*_*ter 10

你需要安装git-daemonrpm.该RPM具有缓存守护程序.