How To Delete Large Files From Git Repository History Using BFG

Опубликовано: 02 Май 2026
на канале: Software Basics
663
5

WEBSITE: http://www.kingsley.tech
INSTAGRAM:   / kingsley.tech  
FACEBOOK:   / kingsley.tech  
TWITTER:   / kingsleytechirl  
KIT: https://kit.co/kingsley.tech
------------------------------------------------------------------------------------

THIS METHOD WILL HELP YOU TO EASILY FIX THE FOLLOWING GIT ISSUES WHEN PUSHING TO REMOTE:
"This is larger than GitHub's recommended maximum file size of 50.00 MB"
"This exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com."

BFG DOWNLOAD & INSTRUCTION:
https://rtyley.github.io/bfg-repo-cle...

DOWNLOAD JAVA:
https://www.oracle.com/java/technolog...

SET UP AN ALIAS:
echo alias bfg='java -jar bfg.jar --strip-blobs-bigger-than'
source .bashrc

------------------------------------------------------------------------------------

TIMESTAMPS / CHAPTERS
TIMESTAMPS *
[0] 00:00 Intro
[1] 00:34 Downloading BFG
[2] 01:17 Java Needed
[3] 01:31 The Repository
[4] 02:19 Using BFG
[5] 07:07 Outro

------------------------------------------------------------------------------------

INTRO, OUTRO & LOWER THIRDS:
By Kingsley Chimezie

All rights reserved by Kingsley Chimezie Creations and/or affiliates.

------------------------------------------------------------------------------------

Description last updated: 19/MAR/2025
KCC Video ID: 2025-03-19-VIDPROJ-100

------------------------------------------------------------------------------------