{"id":132264,"date":"2025-12-28T10:00:15","date_gmt":"2025-12-28T01:00:15","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=132264"},"modified":"2025-12-28T08:40:33","modified_gmt":"2025-12-27T23:40:33","slug":"gitlogue","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/gitlogue\/","title":{"rendered":"Git \u5c65\u6b74\u3092\u30d3\u30b8\u30e5\u30a2\u30eb\u5316\u3059\u308b\u65b0\u30c4\u30fc\u30eb\u300cgitlogue\u300d"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/12\/s_20251227-_153825.jpg\" alt=\"\" width=\"1115\" height=\"696\" class=\"aligncenter size-full wp-image-132265\" \/><\/p>\n<p>Git\u306e\u5c65\u6b74\u306f\u30c6\u30ad\u30b9\u30c8\u3067\u8aad\u3080\u3068\u5473\u6c17\u306a\u304f\u3001\u5358\u306a\u308b\u4e8b\u5b9f\u306e\u7f85\u5217\u306e\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002\u3057\u304b\u3057\u30b3\u30df\u30c3\u30c8\u306b\u306f\u958b\u767a\u8005\u306e\u601d\u8003\u3084\u8a66\u884c\u932f\u8aa4\u306e\u6b74\u53f2\u304c\u8a70\u307e\u3063\u3066\u3044\u307e\u3059\u3002\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/unhappychoice\/gitlogue\">gitlogue<\/a>\u300d\u306f\u305d\u306e\u7269\u8a9e\u3092\u6620\u753b\u306e\u3088\u3046\u306b\u518d\u751f\u3057\u3066\u304f\u308c\u308b\u30bf\u30fc\u30df\u30ca\u30eb\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u306e\u5dee\u5206\u8868\u793a\u3067\u306f\u306a\u304f\u3001\u30bf\u30a4\u30d4\u30f3\u30b0\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30fb\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5\u30fb\u30d5\u30a1\u30a4\u30eb\u30c4\u30ea\u30fc\u306e\u5909\u5316\u307e\u3067\u518d\u73fe\u3057\u3001\u30b3\u30fc\u30c9\u306e\u9032\u5316\u3092\u8996\u899a\u7684\u306b\u697d\u3057\u3081\u308b\u306e\u304c\u6700\u5927\u306e\u7279\u5fb4\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u25a0 \u30b3\u30df\u30c3\u30c8\u5c65\u6b74\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u518d\u751f<\/strong><\/p>\n<ul>\n<li>\n<p><span>\u5b9f\u969b\u306b\u66f8\u3044\u3066\u3044\u308b\u3088\u3046\u306a\u30bf\u30a4\u30d4\u30f3\u30b0\u6f14\u51fa<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5\u3001\u524a\u9664\u3001\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u306e\u52d5\u304d\u3082\u518d\u73fe<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u30b3\u30fc\u30c9\u306e\u5909\u5316\u304c\u201c\u30b9\u30c8\u30fc\u30ea\u30fc\u201d\u3068\u3057\u3066\u898b\u3048\u308b<\/span><\/p>\n<\/li>\n<\/ul>\n<p><strong>\u25a0 Diff \u306e\u8996\u899a\u5316<\/strong><\/p>\n<ul>\n<li>\n<p><span>\u30b9\u30c6\u30fc\u30b8\u6e08\u307f\uff0f\u672a\u30b9\u30c6\u30fc\u30b8\u306e\u5dee\u5206\u3092\u898b\u3084\u3059\u304f\u8868\u793a<\/span><\/p>\n<\/li>\n<li>\n<p><span>Tree-sitter \u306b\u3088\u308b 29 \u8a00\u8a9e\u306e\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30cf\u30a4\u30e9\u30a4\u30c8<\/span><\/p>\n<\/li>\n<\/ul>\n<p><strong>\u25a0 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u30c4\u30ea\u30fc\u8868\u793a<\/strong><\/p>\n<ul>\n<li>\n<p><span>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3068\u5909\u66f4\u7d71\u8a08\u3092\u540c\u6642\u306b\u78ba\u8a8d\u3067\u304d\u308b<\/span><\/p>\n<\/li>\n<\/ul>\n<p><strong>\u25a0 \u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u30e2\u30fc\u30c9<\/strong><\/p>\n<ul>\n<li>\n<p><span>\u30e9\u30f3\u30c0\u30e0\u306a\u30b3\u30df\u30c3\u30c8\u3092\u5ef6\u3005\u3068\u518d\u751f<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u4f5c\u696d\u4e2d\u306e\u201c\u80cc\u666f\u6620\u50cf\u201d\u3068\u3057\u3066\u3082\u4f7f\u3048\u308b<\/span><\/p>\n<\/li>\n<\/ul>\n<p><strong>\u25a0 \u30c6\u30fc\u30de\u5909\u66f4\u30fb\u901f\u5ea6\u8abf\u6574<\/strong><\/p>\n<ul>\n<li>\n<p><span>9 \u7a2e\u985e\u306e\u30c6\u30fc\u30de<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u3054\u3068\u306e\u30bf\u30a4\u30d4\u30f3\u30b0\u901f\u5ea6\u30eb\u30fc\u30eb<\/span><\/p>\n<\/li>\n<li>\n<p><span>ignore \u8a2d\u5b9a\u3082\u67d4\u8edf<\/span><\/p>\n<\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u4f7f\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/h2>\n<p>\u8907\u6570\u306e\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u9078\u3079\u307e\u3059\u3002<\/p>\n<p><strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u63a8\u5968)<\/strong>:<\/p>\n<pre>\r\ncurl -fsSL https:\/\/raw.githubusercontent.com\/unhappychoice\/gitlogue\/main\/install.sh | bash\r\n<\/pre>\n<p><strong>Homebrew<\/strong>:<\/p>\n<pre>\r\nbrew install gitlogue\r\n<\/pre>\n<p><strong>Cargo<\/strong>:<\/p>\n<pre>\r\ncargo install gitlogue\r\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u305f\u5834\u5408\u3001<code>~\/.local\/bin<\/code>\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\u30d1\u30b9\u304c\u901a\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001PATH\u306b\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nexport PATH=\"$PATH:\/Users\/sora\/.local\/bin\"\r\n<\/pre>\n<p>\u3042\u3068\u306f\u3001\u9069\u5f53\u306aGit\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u300cgitlogue\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u4ee3\u8868\u7684\u306a\u4f7f\u3044\u65b9\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre>\r\n# \u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u3068\u3057\u3066\u8d77\u52d5\r\ngitlogue\r\n\r\n# \u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3092\u518d\u751f\r\ngitlogue --commit abc123\r\n\r\n# \u30b3\u30df\u30c3\u30c8\u7bc4\u56f2\u3092\u518d\u751f\r\ngitlogue --commit HEAD~5..HEAD\r\n\r\n# \u53e4\u3044\u9806\u306b\u518d\u751f\r\ngitlogue --order asc\r\n\r\n# diff \u3092\u898b\u308b\r\ngitlogue diff\r\ngitlogue diff --unstaged\r\n\r\n# \u4f5c\u8005\u3067\u30d5\u30a3\u30eb\u30bf\r\ngitlogue --author \"john\"\r\n\r\n# \u65e5\u4ed8\u3067\u30d5\u30a3\u30eb\u30bf\r\ngitlogue --after \"2024-01-01\"\r\n<\/pre>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb <code>~\/.config\/gitlogue\/config.toml<\/code> \u3067\u3001\u30c6\u30fc\u30de\u30fb\u901f\u5ea6\u30fb\u80cc\u666f\u306a\u3069\u3092\u7d30\u304b\u304f\u8abf\u6574\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><iframe width=\"680\" height=\"383\" src=\"https:\/\/www.youtube.com\/embed\/yCn5YypTpo4\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>\u25b2\u8d85\u9ad8\u901f\u691c\u7d22\u30c4\u30fc\u30ebripgrep\u3092\u518d\u751f\u3057\u3066\u307f\u305f\u52d5\u753b\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u958b\u767a\u8005\u306eunhappychoice\u6c0f\u306f\u3001\u300c\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u5f69\u308b\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u3092\u81ea\u4f5c\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u52d5\u6a5f\u304b\u3089\u958b\u767a\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u305f\u3068<a href=\"https:\/\/qiita.com\/unhappychoice\/items\/7e2d792dbf7993ac4465\">\u8ff0\u3079\u3066<\/a>\u3044\u307e\u3059\u3002\u30ea\u30a2\u30eb\u306a\u30bf\u30a4\u30d4\u30f3\u30b0\u8868\u73fe\u3084\u3001\u898b\u305f\u76ee\u306e\u7f8e\u3057\u3055(\u30c6\u30fc\u30de\u30fb\u30cf\u30a4\u30e9\u30a4\u30c8)\u3001Git log \/ diff \u306e\"\u88dc\u5b8c\"\u3068\u3057\u3066\u81ea\u7136\u306b\u4f7f\u3048\u308b\u3053\u3068\u3001\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u3068\u3057\u3066\u773a\u3081\u3066\u697d\u3057\u3044\u3053\u3068\u306a\u3069\u306b\u3053\u3060\u308f\u308a\u3092\u6301\u3063\u3066\u4f5c\u3089\u308c\u305f\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u81ea\u5206\u306e\u643a\u308f\u3063\u3066\u3044\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3082\u3061\u308d\u3093\u3001GitHub\u306b\u306f\u8457\u540d\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u304c\u591a\u6570\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3069\u306e\u3088\u3046\u306a\u6b74\u53f2\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u304b\u6620\u50cf\u3068\u3057\u3066\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3044\u304b\u305f\u306f\u8a66\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git\u306e\u5c65\u6b74\u306f\u30c6\u30ad\u30b9\u30c8\u3067\u8aad\u3080\u3068\u5473\u6c17\u306a\u304f\u3001\u5358\u306a\u308b\u4e8b\u5b9f\u306e\u7f85\u5217\u306e\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002\u3057\u304b\u3057\u30b3\u30df\u30c3\u30c8\u306b\u306f\u958b\u767a\u8005\u306e\u601d\u8003\u3084\u8a66\u884c\u932f\u8aa4\u306e\u6b74\u53f2\u304c\u8a70\u307e\u3063\u3066\u3044\u307e\u3059\u3002\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300cgitlogue\u300d\u306f\u305d\u306e\u7269\u8a9e\u3092\u6620\u753b\u306e\u3088\u3046\u306b\u518d\u751f\u3057\u3066\u304f\u308c\u308b\u30bf\u30fc\u30df\u30ca\u30eb\u30c4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":132265,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[159],"class_list":["post-132264","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-git"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=132264"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132264\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/132265"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=132264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=132264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=132264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}