Skip to content

Unity: Blender backup files and linguist attributes#240

Merged
alexkaratarakis merged 2 commits into
gitattributes:masterfrom
FurkanKambay:unity
Jul 18, 2025
Merged

Unity: Blender backup files and linguist attributes#240
alexkaratarakis merged 2 commits into
gitattributes:masterfrom
FurkanKambay:unity

Conversation

@FurkanKambay

Copy link
Copy Markdown
Contributor

Change 1 - Historical context

  1. .blend1 files were included with a wildcard in Update Unity gitattributes for blender save versions #228
  2. The wildcard was removed to fix .blend.meta files in Removes problematic wildcard from .blend files #229
  3. On another note, .blend1 was added to the gitignore in Ignore unneeded *.blend1 blender files github/gitignore#4589

Merging 1 and 2, I added a new rule for .blend1 files specifically. This also prevents people using an old version of the gitignore template from using different rules for .blend1 and .blend.

Change 2

Unity's package manager keeps a packages-lock.json lock file that can be automatically hidden in diffs and excluded from repo language stats on GitHub. I also changed the previous Assets/Plugins/** rule to do the same (it was only excluded from stats).

@alexkaratarakis alexkaratarakis merged commit 9351a0a into gitattributes:master Jul 18, 2025
1 check passed
@alexkaratarakis

Copy link
Copy Markdown
Member

Thanks for the change and explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants