usunięcie pliku z historii git nie działa
Próbuję usunąć plik zawierający poufne daneta procedura GitHub.
Jednak to nie działa w przypadku mojego konkretnego repo. Kiedy biegam:
git filter-branch --index-filter 'git rm --cached --ignore-unmatch some_file.json' \
--prune-empty --tag-name-filter cat -- --all
Kończy się z:
Rewrite 73f9cce9ab282cec272022314f361c1cd48955a7 (418/418)
WARNING: Ref 'refs/heads/master' is unchanged
WARNING: Ref 'refs/remotes/origin/blah' is unchanged
WARNING: Ref 'refs/remotes/origin/blah2' is unchanged
WARNING: Ref 'refs/remotes/origin/blah3' is unchanged
WARNING: Ref 'refs/remotes/origin/blah4' is unchanged
WARNING: Ref 'refs/remotes/origin/master' is unchanged
Ale nic się nie zmieniło. Kiedy robię
git push origin master --force
to mówi
Wszystko aktualne
Czy ktoś wie, co robię źle?