# Git Blob Size Filter Cleanup

> Strip oversized blobs from unpushed commits using git filter-branch when GitHub's 100 MB limit blocks push

- Skill: `vamseeachanta/git-blob-size-filter-cleanup` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/git-blob-size-filter-cleanup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/git-blob-size-filter-cleanup/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/git-blob-size-filter-cleanup

---


# Git Blob Size Filter Cleanup

When a file (e.g., `cost-tracking.jsonl`) grows beyond 100 MB in unpushed commits and blocks GitHub push, use `git filter-branch` to strip the oversized blob. Add the file to `.gitignore`, then run `git filter-branch --tree-filter 'rm -f <filepath>' HEAD~N..HEAD` to rewrite commits. This is safe only for unpushed commits not yet in origin. After rewriting, commit the `.gitignore` change and push normally.
