Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,075 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you