間違って commit 予定のないファイルを commit してしまった・・・。
機密データをリポジトリから削除する - GitHub ヘルプを参考に削除を試みる。ローカル環境に java を導入していなかったし、とりあえずは永続的に導入する必要がないので、docker で片付ける。
$ docker pull openjdk:8u252-slim $ docker run -it --rm openjdk:8u252-slim bash # apt update # apt install git curl # curl https://repo1.maven.org/maven2/com/madgag/bfg/1.13.0/bfg-1.13.0.jar -o bfg-1.13.0.jar # git clone --mirror https://github.com/xxx/hoge.git # java -jar bfg-1.13.0.jar --delete-files want_to_remove.data hoge.git # cd hoge.git # git push
一応消えたみたい。
履歴そのものは消えなくてファイルだけが消滅しているので、何も操作していないような履歴が残っているものも・・・。まぁいいや。
Showing with 0 additions and 0 deletions.