Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Git LFS track all binary files

Hello there

As in our Git repos always exist some (large) binary files, we are using Git LFS since it is implemented in Sourcetree.

We are working in automation industries and with a lot of different Repos which always contain some different types of (large) binary files. Those binary files are mostly any project files of any configuartiion tools of electrical components (e.g. motor drives). Depending on the project those are always another types of binary files (another file extension).

So for each Repo we have to set the LFS tracking for each of this file type by file extension in the .gitattributes. 

Is there any way to set a general LFS filter in the .gitattributes for any binary files (independed of file extension or file size), so all non binary files (which can be diffed by sourcetree) are checked in "normaly" in Git?


0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events