<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hrt0kmt</author_name>
  <author_url>https://blog.hatena.ne.jp/hrt0kmt/</author_url>
  <blog_title>tail -f /dev/null</blog_title>
  <blog_url>https://www.halu.dev/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>概要 秘匿情報を過去にコミットしたことがある場合等で、特定のディレクトリのみ、コミット履歴から削除する。 手順 $ git filter-branch -f --index-filter 'git rm -rf --ignore-unmatch {path_to_directory}' HEAD # or $ git filter-branch -f --index-filter &quot;git rm -rf --cached --ignore-unmatch {path_to_directory}&quot; --prune-empty -- --all $ rm -rf .git/refs/origina…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.halu.dev%2Fentry%2Fgit%2Fdelete_commited_history&quot; title=&quot; コミット履歴から秘匿情報を削除したい - tail -f /dev/null&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-11 14:54:09</published>
  <title> コミット履歴から秘匿情報を削除したい</title>
  <type>rich</type>
  <url>https://www.halu.dev/entry/git/delete_commited_history</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
