Clean Git File History
Version updated for https://github.com/kkkgo/Clean-Git-File-History-Action to version v1.
- This action is used across all versions by 3 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The Clean Git File History Action is a GitHub Action designed to remove large files and specific file types from a repository’s entire Git history, while ensuring the latest version of every matched file in the current branch (HEAD) is preserved. It automates the process of cleaning up repositories by detecting and stripping unnecessary or oversized files, thereby reducing repository size and improving performance. Key features include filtering by file size or filename patterns, preserving content based on unique file identifiers (SHA), and safely rewriting commit history without accidental data loss.