{"id":2038,"date":"2020-02-07T20:51:02","date_gmt":"2020-02-07T11:51:02","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=2038"},"modified":"2021-07-18T11:39:19","modified_gmt":"2021-07-18T02:39:19","slug":"%e6%8c%87%e5%ae%9a%e6%9c%9f%e9%96%93%e5%86%85%e3%81%ae%e5%85%a8%e3%81%a6%e3%81%aegit%e3%82%b3%e3%83%9f%e3%83%83%e3%83%88%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%8b%e3%82%89%e6%96%87","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=2038","title":{"rendered":"\u6307\u5b9a\u671f\u9593\u5185\u306e\u5168\u3066\u306eGit\u30b3\u30df\u30c3\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u6587\u5b57\u5217\u3092\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3059\u308b"},"content":{"rendered":"<p>\u6307\u5b9a\u671f\u9593\u5185\u306e\u5168\u3066\u306eGit\u30b3\u30df\u30c3\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u6587\u5b57\u5217\u3092\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3067\u3059\u3002<br \/>\nGit\u3055\u308c\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u304c\u3044\u304f\u3064\u3082\u3042\u308a\u3001\u305d\u3057\u3066Git\u306e\u30b3\u30df\u30c3\u30c8\u306e\u6570\u3082\u3044\u304f\u3089\u304b\u3042\u308b\u3002\u305d\u3057\u3066\u305d\u308c\u3089\u306e\u904e\u53bb\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30fc\u30bf\u304b\u3089\u3001\u6587\u5b57\u5217\u3092\u691c\u7d22\u3001\u305d\u308c\u3082\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3057\u305f\u3044\u3001\u3068\u3044\u3063\u305f\u30b1\u30fc\u30b9\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u50d5\u306e\u30b1\u30fc\u30b9\u3067\u3059\u304c\u3001\u5148\u65e5\u3001\u30ce\u30fc\u30c8\u3092\u4fdd\u7ba1\u3057\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u3042\u308b\u306f\u305a\u306e\u30c7\u30fc\u30bf\u304c\u306a\u304b\u3063\u305f\u3068\u3044\u3046\u4e8b\u4ef6\u304c\u3042\u308a\u307e\u3057\u305f\u3002&#8221;\u6d0b\u66f8\u304c\u8cb7\u3048\u308b\u6771\u4eac\u306e\u304a\u5e97&#8221;\u7684\u306a\u30ce\u30fc\u30c8\u3092\u53d6\u3063\u3066\u3044\u305f\u306e\u304c\u8a18\u61b6\u306b\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u306a\u305c\u304b\u898b\u3064\u304b\u3089\u306a\u3044\u3002\u304a\u305d\u3089\u304f&#8221;\u7d00\u4f0a\u570b\u5c4b\u66f8\u5e97&#8221;\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u305d\u306e\u30ce\u30fc\u30c8\u306e\u4e2d\u306b\u66f8\u3044\u3066\u3044\u305f\u306f\u305a\u3060\u304b\u3089\u3001\u3053\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067Git\u3092\u9061\u3063\u3066\u691c\u7d22\u3057\u3066\u307f\u3088\u3046\u2026\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u305f\u3002<\/p>\n<p>\u306f\u3044\u3002\u307e\u305a\u4ee5\u4e0b\u306f\u8907\u6570\u306e\u30b3\u30df\u30c3\u30c8\u306e\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code>git grep \"\u7d00\u4f0a\u570b\u5c4b\u66f8\u5e97\" 7d48e6e 4ccf24f 78e1c4b  \n<\/code><\/pre>\n<p>\u30b3\u30df\u30c3\u30c8\u306e\u30cf\u30c3\u30b7\u30e5\u3092\u4e26\u3079\u3066\u3057\u307e\u3048\u3070\u3044\u3044\u306e\u3067\u3001\u6b21\u306fgit log\u304b\u3089\u5168\u3066\u306e\u6307\u5b9a\u671f\u9593\u306e\u30b3\u30df\u30c3\u30c8\u30cf\u30c3\u30b7\u30e5\u3092\u51fa\u529b\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306f\u6700\u8fd190\u65e5\u9593\u306e\u30b3\u30df\u30c3\u30c8\u30cf\u30c3\u30b7\u30e5\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre><code>git log --after=\"@$( date --date \"-90 days\" +%s )\" --pretty=format:\"%h\"\n<\/code><\/pre>\n<p>\u3093\u3067\u3001\u305d\u306e\u5168\u3066\u306e\u6307\u5b9a\u671f\u9593\u306e\u30b3\u30df\u30c3\u30c8\u306b\u5bfe\u3057\u3066grep\u3092\u639b\u3051\u307e\u3059\u3002<\/p>\n<pre><code>git grep \"\u7d00\u4f0a\u570b\u5c4b\u66f8\u5e97\" $( git log --after=\"@$( date --date \"-90 days\" +%s )\" --pretty=format:\"%h\" )\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u7c21\u5358\u306a\u51fa\u529b\u306e\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3092\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u50d5\u306f\u3088\u304f\u8abf\u3079\u3066\u306a\u3044\u306e\u3067\u4e0d\u78ba\u304b\u3067\u3059\u304c\u3001\u304a\u305d\u3089\u304fgit grep\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30a4\u30f3\u30d0\u30fc\u30c8\u30de\u30c3\u30c1(\u5426\u5b9a\u30de\u30c3\u30c1)\u3068\u304b\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001ag\u3068\u304bawk\u3068\u304bgrep\u3067\u30d1\u30a4\u30d7\u51e6\u7406\u3057\u3066\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre><code>git grep \"\u7d00\u4f0a\u570b\u5c4b\u66f8\u5e97\" $( git log --after=\"@$( date --date \"-90 days\" +%s )\" --pretty=format:\"%h\" ) | ag -v \"\u7d00\u4f0a\u570b\u5c4b\u66f8\u5e97\u30a6\u30a7\u30d6\u30b9\u30c8\u30a2\" \n<\/code><\/pre>\n<p>\u305d\u3057\u3066\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u3063\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u51fa\u529b\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><img src=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_cae00d2f-3b04-49e3-abb6-4b2c98956dc7.png\" alt=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_cae00d2f-3b04-49e3-abb6-4b2c98956dc7.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6307\u5b9a\u671f\u9593\u5185\u306e\u5168\u3066\u306eGit\u30b3\u30df\u30c3\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u6587\u5b57\u5217\u3092\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3067\u3059\u3002 Git\u3055\u308c\u3066\u3044\u308b\u30d5\u30a1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-wS","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2038"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2038"}],"version-history":[{"count":2,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2038\/revisions"}],"predecessor-version":[{"id":2450,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/2038\/revisions\/2450"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}