The Prompt BakeryTemplates and prompts

Fix · GitHub and Git

Push blocked: file larger than 100 MB

Blocks your work

What you may see

  • The push fails and mentions a large file or the size limit
  • I uploaded a huge video or file and now every push fails
  • I added a video, a zip or a database export by mistake

Most likely cause

One saved version (commit) contains a file over the limit, and deleting the file now does not remove it from the earlier commit.

Check first (about two minutes)

  1. Read the error: it names the file and the size.
  2. Run git log --oneline origin/main..HEAD to see how many unpushed commits there are.

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Find the file named in the error and tell me what it is and whether the project needs it.
  2. Make a safety copy: git branch backup-before-cleanup.
  3. If the big file is only in the last commit(s) that were not pushed: remove it from tracking (git rm --cached <file>), add it to .gitignore, and rewrite those local commits (git reset --soft or git commit --amend), after showing me the exact plan.
  4. If the file is deep in older history, explain the options (git filter-repo, or Git LFS for files that must stay) and ask me before rewriting history.
  5. Suggest a better home for the big file (a storage service or a video host) and how to link to it.

Do not do this

  • Do not force push over a shared branch without asking the team.
  • Do not just delete the file and commit again: the old commit still carries it.
  • Do not delete the original big file from my computer.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.