{"version":"1.0","blog_url":"https://www.halu.dev/","published":"2019-01-11 14:54:09","title":" \u30b3\u30df\u30c3\u30c8\u5c65\u6b74\u304b\u3089\u79d8\u533f\u60c5\u5831\u3092\u524a\u9664\u3057\u305f\u3044","description":"\u6982\u8981 \u79d8\u533f\u60c5\u5831\u3092\u904e\u53bb\u306b\u30b3\u30df\u30c3\u30c8\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u5834\u5408\u7b49\u3067\u3001\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u307f\u3001\u30b3\u30df\u30c3\u30c8\u5c65\u6b74\u304b\u3089\u524a\u9664\u3059\u308b\u3002 \u624b\u9806 $ git filter-branch -f --index-filter 'git rm -rf --ignore-unmatch {path_to_directory}' HEAD # or $ git filter-branch -f --index-filter \"git rm -rf --cached --ignore-unmatch {path_to_directory}\" --prune-empty -- --all $ rm -rf .git/refs/origina\u2026","blog_title":"tail -f /dev/null","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.halu.dev%2Fentry%2Fgit%2Fdelete_commited_history\" title=\" \u30b3\u30df\u30c3\u30c8\u5c65\u6b74\u304b\u3089\u79d8\u533f\u60c5\u5831\u3092\u524a\u9664\u3057\u305f\u3044 - tail -f /dev/null\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_name":"hrt0kmt","image_url":null,"width":"100%","categories":["git"],"provider_name":"Hatena Blog","height":"190","author_url":"https://blog.hatena.ne.jp/hrt0kmt/","type":"rich","url":"https://www.halu.dev/entry/git/delete_commited_history"}