How to get a list of all blobs in a repository in Git

后端 未结 3 909
無奈伤痛
無奈伤痛 2021-01-18 17:51

How can I list all versions of all files in a git repository?

(For example for listing all files that ever contained a certain string)

This list could be use

3条回答
  •  粉色の甜心
    2021-01-18 18:39

    As I understand it from the manual, the following lists all objects and their info

    git cat-file --batch-all-objects --batch-check
    

提交回复
热议问题