James Fellows Yates
03/28/2024, 2:27 PMbfg but it seems 'dangerous' and I'm scared of breaking things...Edmund
03/28/2024, 2:29 PMJames Fellows Yates
03/28/2024, 2:30 PMEdmund
03/28/2024, 2:30 PMEdmund
03/28/2024, 2:30 PMJames Fellows Yates
03/28/2024, 2:30 PMJames Fellows Yates
03/28/2024, 2:31 PMEdmund
03/28/2024, 2:44 PMbfg --delete-files "*.png"
3.
$ cd some-big-repo.git
$ git reflog expire --expire=now --all && git gc --prune=now --aggressive
1. git push -f
2. let anyone using the repo knowJames Fellows Yates
03/28/2024, 2:45 PMEdmund
03/28/2024, 2:45 PMJames Fellows Yates
03/28/2024, 2:45 PMEdmund
03/28/2024, 2:46 PMJames Fellows Yates
03/28/2024, 2:47 PMPhil Ewels
03/28/2024, 3:03 PMPhil Ewels
03/28/2024, 3:04 PM--force flag in the git push abovePhil Ewels
03/28/2024, 3:04 PMPhil Ewels
03/28/2024, 3:04 PMJames Fellows Yates
03/28/2024, 3:04 PMEdmund
03/28/2024, 3:05 PMseems intimidating.It's just to scare the kids straight. Stay in school and don't rewrite git history
moritz
03/28/2024, 4:54 PMJames Fellows Yates
03/28/2024, 5:15 PMbfg thing above?moritz
03/28/2024, 5:20 PM