Add script used to clean, and restart repo

pull/2/head
Roxedus 2025-08-27 13:04:43 +00:00
rodzic 9a396c22f4
commit da1178217d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 9B4E311961C63639
1 zmienionych plików z 17 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,17 @@
#!/bin/env bash
temp=$(mktemp -d)
cp -r docs/deprecated_images "${temp}"
cp -r docs/images "${temp}"
git remote remove origin
git-filter-repo --path docs/images --path docs/deprecated_images --invert-paths --force
mv "${temp}/deprecated_images" docs
mv "${temp}/images" docs
git add docs/deprecated_images
git add docs/images
git commit -m "Added templated files"