{"blog_url":"https://tokizuoh.hatenablog.com/","type":"rich","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","image_url":null,"published":"2022-05-08 15:04:17","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokizuoh.hatenablog.com%2Fentry%2F2022%2F05%2F08%2F150417\" title=\"\u30de\u30fc\u30b8\u6e08\u307f\u306e\u30ed\u30fc\u30ab\u30eb\u30d6\u30e9\u30f3\u30c1\u3092\u4e00\u62ec\u524a\u9664\u3059\u308b - \u30ab\u30eb\u30dc\u30ca\u30fc\u30e9\u8857\u9053\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://tokizuoh.hatenablog.com/entry/2022/05/08/150417","author_name":"tokizuoh","height":"190","version":"1.0","categories":["Git","Shell"],"title":"\u30de\u30fc\u30b8\u6e08\u307f\u306e\u30ed\u30fc\u30ab\u30eb\u30d6\u30e9\u30f3\u30c1\u3092\u4e00\u62ec\u524a\u9664\u3059\u308b","author_url":"https://blog.hatena.ne.jp/tokizuoh/","blog_title":"\u30ab\u30eb\u30dc\u30ca\u30fc\u30e9\u8857\u9053","description":"\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3 \u30de\u30fc\u30b8\u6642\u306b\u30ea\u30e2\u30fc\u30c8\u30d6\u30e9\u30f3\u30c1\u3092\u81ea\u52d5\u3067\u524a\u9664\u3059\u308b\u306b\u306fGitHub\u306eSettings\u306e\u300cAutomatically delete head branches \u300d\u3092\u30aa\u30f3\u306b\u3059\u308c\u3070\u826f\u3044\u304c\u3001\u30ed\u30fc\u30ab\u30eb\u30d6\u30e9\u30f3\u30c1\u306f\u653e\u7f6e\u306b\u306a\u308a\u304c\u3061\u306e\u305f\u3081\u89e3\u6c7a\u3057\u305f\u3044\u3002 \u30b3\u30fc\u30c9 git branch --merged | xargs -n 1 | egrep -v \"develop|\\*\" | xargs git branch -d \u53c2\u8003 Git - git-branch Documentation"}