<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>Gitを使っていて間違えることがよくあるので、対処方法の備忘録 直前のコミット自体を削除する(やっぱりやめたいとき) $ git reset --hard HEAD^ 直前のコミットを別のコミットで打ち消す(やめたいけど、記録は残したいとき) $ git revert コミットのハッシュ値 直前のコミットを修正(コミット漏れとか、メッセージを直したいとか) $ git commit --amend リモートタグを削除する(間違えてpushまでしてしまったとき) git tag -d TAGNAME git push --delete origin TAGNAME リモートブランチを削除する $…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2017%2F06%2F03%2F163818&quot; title=&quot;Gitでコミットを間違えたときの対処方法 - くらげになりたい。&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>2017-06-03 16:38:18</published>
  <title>Gitでコミットを間違えたときの対処方法</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2017/06/03/163818</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
