【问题标题】:How to setup bonobo git server to support git-lfs?如何设置 bonobo git 服务器以支持 git-lfs?
【发布时间】:2018-05-04 08:22:17
【问题描述】:

我在我的 LAN 服务器上创建了一个 Bonobo git 服务器。基本命令“拉”或“推”没有问题。但是当我尝试跟踪大文件并将其推送到服务器时,它失败并显示以下错误消息。

我应该如何设置 git 服务器?

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin develop:develop
git: 'credential-wincerd' is not a git command. See 'git --help'.

The most similar command is
    credential-wincred

Pushing to http://IP/Git/GUI.git

Git LFS: (0 of 2 files) 0 B / 5.57 MB                                          
batch response: Repository or object not found: http://IP/Git/GUI.git/info/lfs/objects/batch
Check that it exists and that you have proper access to it

error: failed to push some refs to 'http://IP/Git/GUI.git'
Completed with errors, see above.

【问题讨论】:

  • 看起来您的 git 设置中有错字 - credential-wincerd 而不是 credential-wincred。
  • 我应该如何解决这个问题?我在配置文件中找不到 credential-winced。

标签: git git-lfs bonobo


【解决方案1】:

您的一个 git 配置文件(可能是全局配置文件)中似乎有错字。

不用打字

git config --global credential.helper wincred

你可能输入了

git config --global credential.helper wincerd

所以只需找到包含字符串“wincerd”的 git 配置文件并修复错字即可。

【讨论】:

    猜你喜欢
    • 2022-11-23
    • 1970-01-01
    • 1970-01-01
    • 2013-10-05
    • 1970-01-01
    • 1970-01-01
    • 2016-05-06
    • 1970-01-01
    • 2016-05-06
    相关资源
    最近更新 更多