refactor: remove vendored binaries and raw assets from repo

This commit is contained in:
2026-06-07 01:06:21 +07:00
parent 3172f56b75
commit 1b19d5443d
7 changed files with 196 additions and 0 deletions

14
scripts/purge-git-history.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
cat <<'EOF'
This rewrites git history to remove large vendored assets.
Run only after committing the current tree cleanup and coordinating with collaborators.
Commands:
git filter-repo --path dcmtk-bin --path legacy/raw --invert-paths
git push --force --all
git push --force --tags
Afterward, collaborators should reclone or hard-reset to the rewritten history.
EOF