<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmicha</author_name>
  <author_url>https://blog.hatena.ne.jp/tmicha/</author_url>
  <blog_title>技術ブログっぽいなにか</blog_title>
  <blog_url>https://tmicha.hateblo.jp/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>最初に間違えてpushした 先日家にいる時、インターン先の上司に「localにコミットしといてね」って言われた。 localにコミット…？リモートにpushしとけってことかなと思いcommitしてpushしました $ git commit - 'xxxxxxxx' $ git push 不安になってrevertした で、その後 「いやでももし自分のところにcommitしとけってことだったらどうしよう？誰かにpullされたらコンフリクトするぞ…」と思い、commitを取り消してpushし直した。 まず取り消したいcommitの番号を取得します $ git log --oneline 42cdd1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmicha.hateblo.jp%2Fentry%2F2017%2F04%2F26%2F140548&quot; title=&quot;【git】revretしたcommitをまたrevertして戻した話 - 技術ブログっぽいなにか&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-04-26 14:05:48</published>
  <title>【git】revretしたcommitをまたrevertして戻した話</title>
  <type>rich</type>
  <url>https://tmicha.hateblo.jp/entry/2017/04/26/140548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
