{"published":"2026-10-19 22:55:00","author_url":"https://blog.hatena.ne.jp/watashi-kabu/","blog_url":"https://watashi-kabu.hatenablog.com/","url":"https://watashi-kabu.hatenablog.com/entry/2026/10/19/225500","description":"\u306f\u3058\u3081\u306b \u30c1\u30fc\u30e0\u3067ClaudeCode\u3092\u4f7f\u3044\u59cb\u3081\u307e\u3057\u305f\u3002\u4ed5\u69d8\u99c6\u52d5\u958b\u767a\u306a\u3069\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u30c1\u30fc\u30e0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306a\u306e\u3067\u81ea\u52d5\u3067git push\u3055\u308c\u305f\u3089\u4e8b\u6545*1\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001ClaudeCode\u306ehooks\u3092\u4f7f\u3063\u3066\u81ea\u52d5git push\u3092\u9632\u6b62\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3057\u305f\u3002 Hooks\u3092\u8a2d\u5b9a\u3059\u308b ~/.claude/settings.json\u306bhooks.PreToolUse\u3092\u8ffd\u52a0\u3001bash\u306e\u547c\u3073\u51fa\u3057\u3054\u3068\u306bPython\u30b3\u30fc\u30c9\uff08\u5f8c\u8ff0\uff09\u3092\u5b9f\u884c\u3059\u308b\u3002 { \"hooks\": { \"PreToolUse\": [ { \"matcher\": \"Bash\", \"hooks\": [ { \"type\": \"command\"\u2026","blog_title":"\u308f\u305f\u3057\u3068\u30ab\u30d6\u306e\u30b9\u30fc\u30d7","author_name":"watashi-kabu","image_url":null,"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwatashi-kabu.hatenablog.com%2Fentry%2F2026%2F10%2F19%2F225500\" title=\"ClaudeCode\u3067\u81ea\u52d5git push\u3092\u9632\u6b62\u3059\u308b - \u308f\u305f\u3057\u3068\u30ab\u30d6\u306e\u30b9\u30fc\u30d7\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":"ClaudeCode\u3067\u81ea\u52d5git push\u3092\u9632\u6b62\u3059\u308b","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","categories":["Claude","Linux","Python","git"]}