<?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 で ローカルブランチをtypo したとき、名前を変えたい。 isssue とか ちょっとした名前のミスであれば、名前の変更をしたい。 また、masterを直接更新 から git checkout -b name でブランチを後付で更新したいときに、名前をミスると、名称の変更が速い時がある。 ローカルのブランチの名前変更（１） カレントブランチ（今いるブランチ）を変更 git branch -m 新しい名前 ローカルのブランチの名前変更（２） 変更前のブランチと変更後のブランチを指定して変更 git branch -m '古い名前' '新しい名前' branch -m / -M ちなみに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2019%2F07%2F29%2F163418&quot; title=&quot;gitでブランチ名を名前変更したい / ローカル branchのrename - それマグで！&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>2019-07-29 16:34:18</published>
  <title>gitでブランチ名を名前変更したい / ローカル branchのrename</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2019/07/29/163418</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
