<?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の機能。 通常のgit checkoutはブランチを切り替えるたびに作業ディレクトリが変わるが、worktreeを使えば複数のブランチを並行して扱える。 my-project/ ├── main/ ← メインリポジトリ ├── feature-auth/ ← worktree: 認証機能 ├── feature-ui/ ← worktree: UI改善 └── bugfix-api/ ← worktree: バグ修正 すべてのworktreeは同じGit履歴を共有し、どのworktreeでコミットしても他から…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2026%2F02%2F23%2F010031&quot; title=&quot;Git Worktree メモ - 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>2026-02-23 01:00:31</published>
  <title>Git Worktree メモ</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/2026/02/23/010031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
