{"provider_url":"https://hatena.blog","title":"\u5168\u3066\u306eGit\u30ec\u30dd\u30b8\u30c8\u30ea\u306e\u30d0\u30f3\u30c9\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b","categories":["Git","Shell Script"],"width":"100%","author_name":"atsuhiro-me","provider_name":"Hatena Blog","description":"\u3068\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u5168\u3066\u306eGit\u30ec\u30dd\u30b8\u30c8\u30ea\u306e\u30d0\u30f3\u30c9\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\uff0e #! /bin/zsh mkdir -p bundles for dir in * do if [ -e $dir/.git ]; then cd $dir git bundle create ../bundles/$dir.bundle HEAD master cd .. fi done; .git\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u542b\u3080\u306a\u3089\u3070\u30d0\u30f3\u30c9\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\uff0cbundles\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3057\u307e\u3059\uff0e \u53c2\u8003 Git - Bundling","published":"2022-08-31 21:23:38","version":"1.0","author_url":"https://blog.hatena.ne.jp/atsuhiro-me/","type":"rich","blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","image_url":null,"blog_url":"https://pc.atsuhiro-me.net/","url":"https://pc.atsuhiro-me.net/entry/2022/08/31/212338","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2022%2F08%2F31%2F212338\" title=\"\u5168\u3066\u306eGit\u30ec\u30dd\u30b8\u30c8\u30ea\u306e\u30d0\u30f3\u30c9\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190"}