Find commits that modify file names matching a pattern in a GIT repository

后端 未结 7 1721
礼貌的吻别
礼貌的吻别 2021-02-03 18:36

I\'d like to find commits in my code base that add video files to throw them out. Is there a way to look for these files in git ?

For example let\'s say all videos have

7条回答
  •  名媛妹妹
    2021-02-03 19:44

    Yup, like mentioned, I think the thinko is that removing the commits that introduce them is not going to remove the blobs

    See http://progit.org/book/ch9-7.html#removing_objects for an extensive treatment of the subject and examples

提交回复
热议问题