Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • There seems to be a typo: fatal: invalid filter-spec 'object:type=blob' is thrown as an error
    – Tryer
    Commented Nov 29, 2022 at 16:02
  • It's working fine over here. Perhaps it's a version problem. Check git help rev-list.
    – eftshift0
    Commented Nov 29, 2022 at 16:04
  • Mine is git version 2.31.1. But I got the same error. I think @eftshift0's approach is better. Commented Nov 29, 2022 at 16:11
  • @eftshift0 : git rev-list --all --objects works on my version of git and is also very useful for me--relating a blob to a file.
    – Tryer
    Commented Nov 29, 2022 at 16:23