关于 Git GUI 推送错误
About Git GUI push Error
我正在使用 Windows Git GUI.When 我试图获取来源,它向我显示了一条成功消息。
然而,当我尝试将某些内容推送到源时,显示此错误消息:
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
并删除它。
我该如何解决这个问题?
您正在尝试使用:
https://git-lfs.github.com/
而您的本地存储库没有找到它。
此问题有一个开放工单:
'git-lfs' 未在您的路径中找到:
https://github.com/github/git-lfs/issues/853
我确实删除了我本地存储库中的 .git/hooks/pre-push.sample,它起作用了。
我也从远程存储库中删除了相同的文件
我正在使用 Windows Git GUI.When 我试图获取来源,它向我显示了一条成功消息。
然而,当我尝试将某些内容推送到源时,显示此错误消息:
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
并删除它。
我该如何解决这个问题?
您正在尝试使用:
https://git-lfs.github.com/
而您的本地存储库没有找到它。
此问题有一个开放工单:
'git-lfs' 未在您的路径中找到:
https://github.com/github/git-lfs/issues/853
我确实删除了我本地存储库中的 .git/hooks/pre-push.sample,它起作用了。
我也从远程存储库中删除了相同的文件