<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koko55120</author_name>
  <author_url>https://blog.hatena.ne.jp/koko55120/</author_url>
  <blog_title>EngineerWataruの奇妙なブログ</blog_title>
  <blog_url>https://wataru55120.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>git revertコマンドでリモートにpushしてしまったコミットを打ち消すことが出来る リモートにpushする前でローカルブランチの変更を取り消したい場合はresetなどでHEADを取り消したり、リモートから強制pullで上書きで対処できる。 ※git reset --hard origin/masterでローカルブランチを強制的にリモートで書き換える。 リモートにもうpushしてしまった時に取り消すことが出来るのがrevert。 指定したコミットを取り消した内容の新しいコミットを作成してくれます。 ポイントは取り消しのコミットを作成するというところ。Gitの記録には新しいrevertコミ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwataru55120.hatenablog.jp%2Fentry%2F2023%2F09%2F26%2F113827&quot; title=&quot;【Git】Gitでリモートでpushしてしまったコミットを打ち消すrevert - EngineerWataruの奇妙なブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/koko55120/20230926/20230926113815.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-09-26 11:38:27</published>
  <title>【Git】Gitでリモートでpushしてしまったコミットを打ち消すrevert</title>
  <type>rich</type>
  <url>https://wataru55120.hatenablog.jp/entry/2023/09/26/113827</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
