{"id":3729,"date":"2020-08-11T08:54:50","date_gmt":"2020-08-10T23:54:50","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=3729"},"modified":"2020-08-11T09:15:49","modified_gmt":"2020-08-11T00:15:49","slug":"git-%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%82%92%e7%a7%bb%e5%8b%95%e3%81%97%e3%81%9f%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e5%b1%a5%e6%ad%b4%e3%82%92%e8%bf%bd%e8%b7%a1%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/3729","title":{"rendered":"[git] \u30d5\u30a9\u30eb\u30c0\u3092\u79fb\u52d5\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5c65\u6b74\u3092\u8ffd\u8de1\u3059\u308b"},"content":{"rendered":"<h3>\u80cc\u666f<\/h3>\n<p>\u30d5\u30a9\u30eb\u30c0\u3092\u79fb\u52d5\u3057\u305f\uff0f\u30ea\u30cd\u30fc\u30e0\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5c65\u6b74\u304c\uff08\u901a\u5e38\u64cd\u4f5c\u3067\u306f\uff09\u9014\u5207\u308c\u308b\u3002<\/p>\n<h3>\u89e3\u6c7a\u7b56<\/h3>\n<p><code>--follow<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u52a0\u3059\u308b<\/p>\n<blockquote><p>Continue listing the history of a file beyond renames (works only for a single file).<\/p><\/blockquote>\n<p><!--more--><\/p>\n<h3>\u4f8b<\/h3>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ git log --follow src\/hello.c<\/pre>\n<h3>\u53c2\u7167\u5143<\/h3>\n<ul>\n<li><a href=\"https:\/\/git-scm.com\/docs\/git-log#_options\">git docutmantation : git-log options<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f \u30d5\u30a9\u30eb\u30c0\u3092\u79fb\u52d5\u3057\u305f\uff0f\u30ea\u30cd\u30fc\u30e0\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5c65\u6b74\u304c\uff08\u901a\u5e38\u64cd\u4f5c\u3067\u306f\uff09\u9014\u5207\u308c\u308b\u3002 \u89e3\u6c7a\u7b56 &#8211;follow \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u52a0\u3059\u308b Continue listing the history of a file beyond [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2],"class_list":["post-3729","post","type-post","status-publish","format-standard","hentry","category-memo","tag-git"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=3729"}],"version-history":[{"count":4,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3729\/revisions"}],"predecessor-version":[{"id":3733,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3729\/revisions\/3733"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=3729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=3729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=3729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}