<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
    <anon>GitHub</anon>
  </categories>
  <description>リモートのpushを1つだけ戻したい時 $ git push -f origin HEAD^:ブランチ名 localのブランチを修正してGitHub上に反映する時 $ git rebase -i HEAD^ 修正したいコミットが3つ前ならHEAD~3、2つ前ならHEAD~2などを指定 エディタが立ち上がるので、修正したい pick から始まるコミットを削除して保存 pick dad6fe7 コミット pick 2bb1e85 間違ったコミット # ←消したいコミットを消して保存 pick de8687c コミット # Rebase 4fd8f0d..de8687c onto 4fd8f0d #…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2014%2F04%2F09%2F144301&quot; title=&quot;GitHubに間違ってpushしたcommitを消す。 - かもメモ&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>2014-04-09 14:43:01</published>
  <title>GitHubに間違ってpushしたcommitを消す。</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2014/04/09/144301</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
