<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>リモートブランチからブランチを作成するときはこんなコマンドを打つことになるかと 思われますが、 $ git checkout -b hoge origin/hoge リモートブランチの最新コミットと、作成したブランチの最新コミットが一致していないときがある。 理由はローカルのHEADがリモートブランチのHEADと一致していないから。 $ git fetch これで解決します。 masterプランチでgit pullしてもよい。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120906%2F1346918315&quot; title=&quot;ローカルでリモートブランチから作成しても最新のブランチになっていない - by shigemk2&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-09-06 16:58:35</published>
  <title>ローカルでリモートブランチから作成しても最新のブランチになっていない</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120906/1346918315</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
