<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naoki86star</author_name>
  <author_url>https://blog.hatena.ne.jp/naoki86star/</author_url>
  <blog_title>naoki86star</blog_title>
  <blog_url>https://naoki86star.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>cloneと、そこからさらにcloneしたディレクトリそれぞれで作業していたときのことです。（それぞれを子・孫と表現する） 基本的には子で作業していて、子・孫での作業対象は競合させてません。孫で作業してgit pushしたときに、子側のディレクトリそのファイルを反映させるときgit checkoutでは足らず、その前にgit resetが必要だったという話です。孫でgit pushしたときに、repogitoryにはそのファイルの更新分が格納されます。子のディレクトリにはたいていの場合その時点で孫の編集前のファイルが存在しますが、これが孫のpush時点でcommit待ち扱いになります。これに気…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaoki86star.hatenablog.com%2Fentry%2F2017%2F04%2F08%2F214039&quot; title=&quot;備忘：git reset - naoki86star&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-08 21:40:39</published>
  <title>備忘：git reset</title>
  <type>rich</type>
  <url>https://naoki86star.hatenablog.com/entry/2017/04/08/214039</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
