fix: migrate PNG assets from Git LFS to regular git objects (fixes #25)#26
Merged
Merged
Conversation
Removes *.png from .gitattributes LFS tracking so contributors can clone and run the project without git-lfs installed. PNG files in this web project are small UI assets that don't benefit from LFS. Audio (*.mp3, *.wav), video (*.mp4), and 3D model (*.glb) files remain in LFS as they are legitimately large. Fixes contributor onboarding issue where oscg26.png and other PNG assets were stored as LFS pointers, causing Next.js build errors for contributors who cloned without git-lfs. Closes #25
Contributor
There was a problem hiding this comment.
Pull request overview
This PR resolves the local build failure from #25 by removing Git LFS tracking for PNG assets so that clones without git-lfs receive real PNG binaries instead of LFS pointer files.
Changes:
- Removed the
*.png filter=lfs diff=lfs merge=lfs -textrule from.gitattributesso PNGs are no longer tracked via Git LFS. - (Per PR intent) Migrates previously-LFS-tracked PNG assets back into normal Git objects to prevent Next.js “Module not found” errors for new contributors.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
devpathindcommunity-india
approved these changes
May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the build error reported in #25 by migrating all PNG assets from Git LFS to regular git objects.
Root Cause
The .gitattributes file was tracking *.png via Git LFS. When contributors forked and cloned the repo without git-lfs installed, they received broken LFS pointer files instead of the actual PNG binaries, causing Next.js to throw:
\
Module not found: Can't resolve '@/assets/oscg26.png'
\\
Changes Made
Why This Is The Right Fix
Impact
Closes #25