<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>GitHub</anon>
  </categories>
  <description>git ブランチ名変更：ローカルとGitHub上の両方を変更する手順 git branch -m でブランチ名を変更できます。ローカルだけなら1コマンドで完了しますが、リモートにプッシュ済みの場合は追加の手順が必要です。 ローカルのブランチ名を変更する 現在チェックアウト中のブランチを変更する git branch -m 新しいブランチ名 別のブランチを変更する（チェックアウト不要） git branch -m 古いブランチ名 新しいブランチ名 チェックアウトしていないブランチも変更できます。 同名のブランチが既に存在する場合 通常はエラーになります。強制的に上書きするには -M（大文字）を使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F06%2F20%2F114331&quot; title=&quot;git ブランチ名変更：ローカルとGitHub上の両方を変更する手順 - Engineering Tech Dojo&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-06-20 11:43:31</published>
  <title>git ブランチ名変更：ローカルとGitHub上の両方を変更する手順</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/06/20/114331</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
