GitHubでファイルを履歴ごと削除する
基本的にはここに書いてあることをそのまますればできるが実行したところエラーが出た
git filter-branch --index-filter 'git rm --cached --ignore-unmatch Rakefile' --prune-empty --tag-name-filter cat -- --all
エラー内容
fatal: bad revision 'rm'
'を"に変えたら正常に出来た
git filter-branch --index-filter "git rm --cached --ignore-unmatch Rakefile" --prune-empty --tag-name-filter cat -- --all