【发布时间】:2016-01-12 10:47:00
【问题描述】:
我正在使用 Windows Git GUI。当我尝试获取源时,它向我显示了一条成功消息。
但是,当我尝试将某些内容推送到原点时,会显示以下错误消息:
Pushing to git@<local IP>:/home/git/.git/
This repository is configured for Git LFS but 'git-lfs' was not found on
your path.
If you no longer wish to use Git LFS, remove this hook by deleting
.git/hooks/pre-push.
error: failed to push some refs to 'git@<local IP>:/home/git/.git/'
Error: Command Failed"
我找不到.git/hooks/pre-push 并将其删除。
我该如何解决这个问题?
【问题讨论】: