<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sessan</author_name>
  <author_url>https://blog.hatena.ne.jp/sessan/</author_url>
  <blog_title>setoya-blog</blog_title>
  <blog_url>https://www.setoya-blog.com/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>git reset --soft HEAD^ --softをつけると、取り消しした分のファイルなどが編集中の状態でワークディレクトリに残る。 HEAD^は、どの状態に戻すか、を指定している。 直前のコミットを取り消すので、HEADの一つ前なので「 HEAD^ 」になる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.setoya-blog.com%2Fentry%2F2012%2F10%2F01%2F131815&quot; title=&quot;gitで直前のコミットを取り消す - setoya-blog&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>2012-10-01 13:18:15</published>
  <title>gitで直前のコミットを取り消す</title>
  <type>rich</type>
  <url>https://www.setoya-blog.com/entry/2012/10/01/131815</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
