The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Git LFS track all binary files

gilgen-zt
Contributor
April 26, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events