VibeDict

🌿File too big to upload to GitHub

What you'll see
remote: error: File video.mp4 is 150.00 MB; this exceeds GitHub's file size limit of 100.00 MB

GitHub doesn't accept files over 100MB. A big file is in a commit, so it was turned away.

🤔 Why does it happen?

  • Video or data files were put inside the project and committed
  • node_modules or build output was committed too

🔧 Try this

  1. Upload big files to file storage instead of the repository
  2. Add node_modules, the build folder, and big files to .gitignore
  3. Big files already committed have to be removed from the history, so ask the AI how

🤖 Ask your AI like this

I get a '100MB file limit' error when I run git push. Please tell me how to safely remove the big file from the commit history, and how to set up .gitignore. [Paste the full error here]

Replace the [ ] parts with your own situation, and paste the error with a few extra lines before and after it.

Related terms

Other errors in this group