<?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ブランチにマージ済みのローカルブランチを、毎回毎回手動で削除するのは手間なので、コマンド1行で削除します。 動作環境 Windows10 Pro Git bash 実現方法 $ git checkout master &amp;&amp; git pull &amp;&amp; git branch --merged | grep -v '*' | xargs -I % git branch -d % Masterブランチではなく、developブランチにマージしたものを削除する場合は、ブランチ名を適宜変更してください。 詳細 git checkout master Masterブランチに移動します g…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yokoyan.net%2Fentry%2F2018%2F06%2F22%2F181500&quot; title=&quot;【Git】Masterブランチを最新化してマージ済みのローカルブランチを一括で削除する方法 - 紙一重の積み重ね&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-22 18:15:00</published>
  <title>【Git】Masterブランチを最新化してマージ済みのローカルブランチを一括で削除する方法</title>
  <type>rich</type>
  <url>https://www.yokoyan.net/entry/2018/06/22/181500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
