全ブランチから該当ファイルを削除 git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch .config' HEAD force pushする git push -f <スポンサーリンク>