間違ってコミットしていたファイルを歴史から全消去 Jun 21, 2018 $ git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch ファイル名' HEAD [gitでファイルの存在をなかったことにする - baronyan’s blog http://baronyan.hatenadiary.com/entry/2014/07/14/152517]