{"id":37273,"date":"2022-09-03T12:02:07","date_gmt":"2022-09-08T13:07:31","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/"},"modified":"2024-01-15T09:23:42","modified_gmt":"2024-01-15T01:23:42","slug":"git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/","title":{"rendered":"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09"},"content":{"rendered":"<p>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u6b63\u5728\u4f7f\u7528\u5df2\u7ecf\u5b89\u88c5\u5728Ubuntu18.04LTS\u4e0a\u7684Git\uff08\u7248\u672c2.17.1\uff09\u3002<\/p>\n<p>\u65e0\u8bba\u662f\u5728\u56e2\u961f\u4e2d\u8fd8\u662f\u4e2a\u4eba\u4f7f\u7528\u4e2d\uff0c\u90fd\u9700\u8981\u67e5\u770b\u4ee5\u524d\u7684\u63d0\u4ea4\u5386\u53f2\u3002\u901a\u8fc7\u8fd9\u6837\u505a\uff0c\u6211\u4eec\u53ef\u4ee5\u4e86\u89e3\u662f\u8c01\u5728\u4f55\u65f6\u4ee5\u53ca\u51fa\u4e8e\u4f55\u79cd\u610f\u56fe\u8fdb\u884c\u4e86\u8fd9\u9879\u5de5\u4f5c\uff0c\u4ece\u800c\u80fd\u591f\u6709\u6548\u5730\u63a8\u8fdb\u5f00\u53d1\u5de5\u4f5c\u3002<\/p>\n<h2>\u67e5\u8be2\u5386\u53f2<\/h2>\n<p>\u8981\u67e5\u770b\u5386\u53f2\u8bb0\u5f55\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>git log\r\n<\/code><\/pre>\n<p>\u6211\u4f1a\u5b9e\u9645\u5c1d\u8bd5\u4f7f\u7528\u4e00\u4e0b\u3002<\/p>\n<pre class=\"post-pre\"><code>git log\r\n\r\ncommit 76d180faf45d1da99905f225830a07f7b9c31603 <span class=\"o\">(<\/span>HEAD -&gt; master<span class=\"o\">)<\/span>\r\nAuthor: xxxxxx &lt;xxxxxxxx@gmail.com&gt;\r\nDate:   Tue Nov 12 08:30:47 2019 +0900\r\n\r\n    initial commit\r\n<\/code><\/pre>\n<p>\u5982\u4e0b\u6240\u793a\uff1a<br \/>\n\u7b2c\u4e00\u884c&#8230;\u63d0\u4ea4(commit) \u7f16\u53f7<br \/>\n\u7b2c\u4e8c\u884c&#8230;\u4f5c\u8005(commit)\u7684\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740<br \/>\n\u7b2c\u4e09\u884c&#8230;\u65e5\u671f(commit)\u63d0\u4ea4\u65e5\u671f<br \/>\n\u7b2c\u56db\u884c&#8230;\u63d0\u4ea4(comment)\u7684\u6ce8\u91ca<\/p>\n<p>\u5728\u8fd9\u79cd\u683c\u5f0f\u4e2d\uff0c\u65b0\u7684\u63d0\u4ea4\u4f1a\u663e\u793a\u5728\u4e0a\u4e00\u4e2a\u63d0\u4ea4\u7684\u9876\u90e8\u3002<\/p>\n<hr \/>\n<h2>\u5c65\u5386\u7684\u7b80\u6613\u5c55\u793a<\/h2>\n<p>\u901a\u8fc7\u4f7f\u7528git log\u547d\u4ee4\u67e5\u770b\u5386\u53f2\u8bb0\u5f55\u65f6\uff0c\u4e00\u5f00\u59cb\u7684\u63d0\u4ea4\u6570\u91cf\u8f83\u5c11\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u67e5\u770b\u6bcf\u4e2a\u63d0\u4ea4\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u7136\u800c\uff0c\u6709\u65f6\u5019\u4f1a\u6709&#8221;\u6211\u53ea\u60f3\u5feb\u901f\u6d4f\u89c8\u5386\u53f2\u8bb0\u5f55\uff0c\u4e0d\u9700\u8981\u592a\u591a\u7ec6\u8282&#8221;\u7684\u60c5\u51b5\u51fa\u73b0\u3002<\/p>\n<p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528oneline\u9009\u9879\uff0c\u4ee5\u6bcf\u884c\u4e00\u6761\u7684\u65b9\u5f0f\u67e5\u770b\u6bcf\u4e2a\u63d0\u4ea4\u7684\u5386\u53f2\u8bb0\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code>git log <span class=\"nt\">--oneline<\/span>\r\n76d180f <span class=\"o\">(<\/span>HEAD -&gt; master<span class=\"o\">)<\/span> initial commit\r\n<\/code><\/pre>\n<hr \/>\n<h3>\u672c\u6587\u76ee\u5f55\u9875\u9762<\/h3>\n<p>Git\u64cd\u4f5c\u6458\u8981<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u6b63\u5728\u4f7f\u7528\u5df2\u7ecf\u5b89\u88c5\u5728Ubuntu18.04LTS\u4e0a\u7684Git\uff08\u7248\u672c2.17.1\uff09\u3002 \u65e0\u8bba\u662f\u5728\u56e2\u961f\u4e2d [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37273","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git-log\uff09\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u6b63\u5728\u4f7f\u7528\u5df2\u7ecf\u5b89\u88c5\u5728Ubuntu18.04LTS\u4e0a\u7684Git\uff08\u7248\u672c2.17.1\uff09\u3002 \u65e0\u8bba\u662f\u5728\u56e2\u961f\u4e2d [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git-log\uff09\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-08T13:07:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T01:23:42+00:00\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/\",\"name\":\"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-09-08T13:07:31+00:00\",\"dateModified\":\"2024-01-15T01:23:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git-log\uff09\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09","og_description":"\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u6b63\u5728\u4f7f\u7528\u5df2\u7ecf\u5b89\u88c5\u5728Ubuntu18.04LTS\u4e0a\u7684Git\uff08\u7248\u672c2.17.1\uff09\u3002 \u65e0\u8bba\u662f\u5728\u56e2\u961f\u4e2d [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git-log\uff09\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-09-08T13:07:31+00:00","article_modified_time":"2024-01-15T01:23:42+00:00","author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/","name":"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-09-08T13:07:31+00:00","dateModified":"2024-01-15T01:23:42+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Git\u64cd\u4f5c\u603b\u7ed3-\u786e\u8ba4Git\u7684\u63d0\u4ea4\u8bb0\u5f55\uff08git log\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93-%e7%a1%ae%e8%ae%a4git%e7%9a%84%e6%8f%90%e4%ba%a4%e8%ae%b0%e5%bd%95%ef%bc%88git-log%ef%bc%89%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=37273"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37273\/revisions"}],"predecessor-version":[{"id":58173,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37273\/revisions\/58173"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=37273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=37273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=37273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}