2016-01-12 50 views
3

我正在使用Windows Git GUI.When当我试图获取原点时,它向我显示了一条成功消息。关于Git GUI推送错误

然而,当我试图把东西原点,显示此错误消息:

Pushing to [email protected]<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 '[email protected]<local IP>:/home/git/.git/' 
Error: Command Failed" 

我无法找到.git/hooks/pre-push并将其删除。

我该如何解决这个问题?

回答

1

我没删除的.git /挂钩/预push.sample在我的地方知识库和它的工作。我也从远程仓库删除相同的文件