【Git】git-lfs filter-process: git-lfs: command not found

image.png

pod install 提示

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

可能跟Git LFS有关

解决方法:

brew install git-lfs
git lfs install
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 日更写字日记并不一定是为了写作,而是为了记录自己每天的生活和情绪。写字日记可以帮助人们通过文字来表达内心的感受和想...
    咿唔琅琅阅读 175评论 1 10
  • 来自哈佛大学的一项研究表明,人的心念在一半的时间里是漂移着的,也就是说,你没有把注意力放在眼下正在做的事情上。那么...
    素人一个阅读 106评论 0 0
  • 红色+粉红色+灰色记忆 (粉红色_男人为谁悲伤 ) 在少年宫学绘画时,老师说红色加白色可以调成粉红色,那主要是针对...
    海上钊铭阅读 137评论 0 0
  • 20230519 《会痛的不是爱》173笔记 笔记 1 我们永远不会被丢进超出自己能力的处境之中。 我们所面对的每...
    每天都微笑阅读 120评论 0 2
  • 慢慢地我发现自己年纪越大,处理问题越容易带着情绪呀,这样是很耗费精力的。 好像没有年轻时候的那种大胆和坦然了,反而...
    一个树洞而已阅读 116评论 0 7