Removing large binary blobs in the git tree
Git filter-repo is a filter-branch replacement for rewriting history written in a single-file python script.
To wipe large binary files entirely:
Git filter-repo is a filter-branch replacement for rewriting history written in a single-file python script.
To wipe large binary files entirely:
commit are discarded.commit)Erase all history in the Git repo to start over with all the current files. This also clears big file records in the Git database.
git checkout --orphan newBranch # Create an orphan branch to hold the files
git add -A && git commit # Add all files and commit them
git branch -D main # Deletes the main branch
git branch -m main # Rename the current orphan branch to main
git push -f origin main # Force push main branch to remote (e.g. github)
git gc --aggressive --prune=all # Remove the old files in the database
Run Github actions after successful Cirrus CI runs with the check_suite trigger.
For example, how to find changed PHP files between latest and the commit before it: 1