<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>git の リモートブランチをclone したい 直接 clone できるわけじゃないけど、新規でclone する場合は結構楽に行える。 いつも流れ作業でやってるし過去にも書いてるんだけど。誰かに伝えるために改めてメモ。 作業の流れ 最初に、メインなブランチ(master)を clone する。 その後にリモートブランチをcheckout する。 作業コマンド 全体の作業の流れはこんな感じ。 git clone ${REPO_URL} cd ${REPO_DIR} git fetch git checkout -b ${BR_NAME} origin/${BR_NAME} 作業例 既存フォルダ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2021%2F06%2F18%2F190310&quot; title=&quot;Gitのリモートブランチをcloneする。 - それマグで！&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>2021-06-18 19:03:10</published>
  <title>Gitのリモートブランチをcloneする。</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2021/06/18/190310</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
