<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yokoyantech</author_name>
  <author_url>https://blog.hatena.ne.jp/yokoyantech/</author_url>
  <blog_title>紙一重の積み重ね</blog_title>
  <blog_url>https://www.yokoyan.net/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>はじめに 件名の通りなのですが、リモートブランチを取得する際に、皆さんはどうやってますか？ やりたいこと 自分や他の人が作ったリモートブランチを取得したいケースがあると思います。 例えば、以下。 プルリクのソースレビューをしたい Masterブランチではなく、bugfix_hogehogeなど、特定のリモートブランチで結合環境を作りたい 私がやっていた例 ダメダメな例です。 fetchや、pullをする前に実行すると変なローカルブランチができたりします。 $ git checkout -b branch_name origin/branch_name これもダメです。 $ git checko…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yokoyan.net%2Fentry%2F2018%2F06%2F18%2F183000&quot; title=&quot;リモートブランチを取得する方法 #git - 紙一重の積み重ね&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/y/yokoyantech/20180618/20180618153956.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-18 18:30:00</published>
  <title>リモートブランチを取得する方法 #git</title>
  <type>rich</type>
  <url>https://www.yokoyan.net/entry/2018/06/18/183000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
