Git LFS #50211
Replies: 3 comments 5 replies
-
Hello! It sounds like you are also dealing with a file format issue in Git LFS. I actually had a similar problem myself where I needed to include several different file formats, such as .mp4, .jpeg and .pdf files, in my repository. To do this, I modified the .gitattributes file in my repository and added the following lines: *.mp4 filter=lfs diff=lfs merge=lfs -text *.jpeg filter=lfs diff=lfs merge=lfs -text *.pdf filter=lfs diff=lfs merge=lfs -text This tells Git LFS to track all .mp4, .jpeg and .pdf files in my repository using LFS. Just to complement, I think this also works when you do not have a file format: /Assets/OpenCVForUnity/Plugins/macOS/opencvforunity.bundle/* filter=lfs diff=lfs merge=lfs -text /Assets/OpenCVForUnity/Plugins/iOS/opencv2.framework/opencv2 filter=lfs diff=lfs merge=lfs -text I hope this helps! Please, let me know if this works. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your feedback. So, I asked a friend of mine and maybe you try using, for example: /Assets/OpenCVForUnity/Plugins/macOS/opencvforunity.bundle/** filter=lfs Apparently, it will copy all files and directories within... |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Repositories
Question
I'm trying to add some large files (~416 MB) to git LFS but I don't know how to include the following files:
"/Assets/OpenCVForUnity/Plugins/macOS/opencvforunity.bundle"
"/Assets/OpenCVForUnity/Plugins/iOS/opencv2.framework/opencv2"
The bundle file consists of different files, and the opencv2 file doesn't have a format type.
I'm using Mac M1 and I've followed multiple tutorials in order to track specific files by path, but it didn't seem to work.
How would you suggest solving this issue?
Beta Was this translation helpful? Give feedback.
All reactions