-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Hello
Our repository contains large PDF files (lecture slides, notes, etc.) that are currently being tracked by Git. As the repository grows, this is causing the following issues:
Slow performance when running Git commands (e.g., git status, git clone, etc.)
Increased repository size due to storing large binary files in Git history.
To resolve these issues, we should configure Git LFS (Large File Storage) to track these large files (PDFs), keeping the repository size smaller and improving Git performance.
Proposed Solution:
Install Git LFS
Track PDF, parquet, zips and other heavy formats files using git lfs track "*.pdf"
Commit and push .gitattributes
file
Verify that files are uploaded to Git LFS
Edit :
Would it also be possible to rewrite the history since it contains 1GB of history.
Thanks