gitignore by file size?

前端 未结 5 689
难免孤独
难免孤独 2020-12-04 10:14

I\'m trying to implement Git to manage creative assets (Photoshop, Illustrator, Maya, etc.), and I\'d like to exclude files from Git based on file size rather than extension

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 11:03

    (Update 2020-05)

    Microsoft released time ago Git-LFS as Open-Source. Probably this is what most people really are searching for:

    https://git-lfs.github.com/ C&P from the project page: "Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise."

提交回复
热议问题