Jon*_*han 5 git xcode github atlassian-sourcetree
我有两个远程存储库.一个是私人(Bitbucket),另一个是公共(Github).我一直在使用Github应用程序将更改推送到Bitbucket,然后使用Xcode将相同的提交推送到Github repo.但是,最近我无法推送到Github的提交并使用SourceTree我收到此错误消息:
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.
Run Code Online (Sandbox Code Playgroud)
这是它在SourceTree中的外观:
我怎样才能让我的Github回购接受最近的提交?
您有一个预推送挂钩,它告诉您您已为此存储库启用了 git-lfs(大文件支持),但它无法在您的计算机上找到 git-lfs 程序。解决方案是删除挂钩(位于 中.git/hooks/pre-push,如错误消息所示),或者修复您的挂钩PATH,以便它可以找到 git-lfs 程序。
| 归档时间: |
|
| 查看次数: |
3252 次 |
| 最近记录: |