Urgent.News

What's breaking now, across thousands of outlets.

Tech

GitHub Push Rejected: "File Exceeds 100 MB" (GH001) — Fix It With filter-repo or LFS

Deleting the big file in a new commit does not fix this error, because Git still carries the file in an earlier commit and GitHub rejects the whole push. You have to either rewrite history so the blob never existed ( git filter-repo ), or move the file to Git LFS and rewrite history so old commits point to LFS instead ( git lfs migrate ). Pick filter-repo if the file should not be in the repo at…

When attempting to push a repository to GitHub, a common error encountered is an error message indicating that a file's size exceeds GitHub's file size limit of 100 MB. This issue does not get resolved simply by deleting the offending file and committing a new change. The error occurs because Git retains the file from earlier commits, and GitHub rejects the entire push.

To resolve this issue, two primary approaches can be taken: using git filter-repo or moving the file to Git LFS.

Option A involves using git filter-repo to remove the problematic file entirely from the repository's history. This method is recommended when the file was committed accidentally and does not belong in the repository. It should be noted that this approach requires installing git-filter-repo, working on a fresh clone of the repository, and then forcing a push to the GitHub repository.

Using this method will rewrite every commit hash from the first affected commit onward, which may require collaborators to reset their local clones or open pull requests to break.

Option B suggests keeping the file in the repository but moving it to Git LFS instead. This approach is suitable when the file is legitimately part of the project, such as design assets or test fixtures. To implement this method, users must install Git LFS, rewrite all history to create LFS pointers for matching files, and then force-push the changes to GitHub. This method retains the file as part of the version-controlled history but incurs ongoing storage and bandwidth costs associated with LFS on GitHub.

In summary, the choice between these two options depends on the nature of the file in question and the ongoing cost considerations. Accidental commits of large dumps, build outputs, .env files, or node_modules are best addressed using git filter-repo --invert-paths, while large assets that must be versioned should utilize git lfs migrate import. Developers should also consider the implications of rewriting history and the associated cost of using LFS on GitHub.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Node.js patched a code-execution Brotli bug October 21

Imperva's researchers ran attacker-supplied code on an official Node.js 24.22.0 image for Linux arm64, with no debugger and no custom build, by feeding crafted data to the Brotli decoder that Node…

  • Node.js patched code-execution Brotli bug on October 21
  • CVE-2026-111497 allows attacker-controlled data to execute arbitrary code
  • Fixed build 24.22.1 rejects same input and prevents code execution

anti-slop-vision: Vision quality gates: prompt hygiene plus a VLM judge…

Most anti-slop-vision write-ups stop at the README: here is what the tool does, here is how you run it. This one covers what it refuses to do, and where it breaks.

  • Vision quality gates use prompt hygiene and VLM judge rubric
  • Tool eliminates visual slop and hallucinations before delivery
  • Install with Python 3 using command python3 scripts/eval.py

SSRF on a media server: the cloud instance case

SSRF on a media server: the cloud instance case A media server in a living room and the same software in a cloud virtual machine are not the same risk.

  • SSRF vulnerability in Plex Media Server affects cloud instances.
  • Attackers target instance metadata service for credentials and config data.
  • Cloud providers' defenses do not render the endpoint irrelevant.

The agent drifts from your requirement while the context fills up

You ask for one behavior: add a validation that rejects a malformed id before the request reaches the handler. The agent reads the route, finds the schema file, runs a couple of searches, edits two…

  • Agent completed task without implementing validation for malformed ids
  • Validation criteria not included in final code changes
  • Acceptance block not referenced during final diff review

More from Friday 23 October →