Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
关于Git GUI推送错误_Git_Git Gui_Git Lfs - Fatal编程技术网

关于Git GUI推送错误

关于Git GUI推送错误,git,git-gui,git-lfs,Git,Git Gui,Git Lfs,我正在使用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, remo

我正在使用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@:/home/git/.git/
已为Git LFS配置此存储库,但在上找不到“Git LFS”
你的道路。
如果您不再希望使用Git LFS,请通过删除
.git/挂钩/预推。
错误:无法将某些引用推送到'git@:/home/git/.git/'
错误:命令失败“
我无法找到
.git/hooks/pre-push
并将其删除

如何解决此问题?

您正在尝试使用:

而您的本地存储库找不到它

本期有一张公开票:
在您的路径上未找到“git lfs:

我确实在本地存储库中删除了.git/hooks/pre-push.sample,并且成功了

我还从远程存储库中删除了相同的文件