{"id":37563,"date":"2022-11-16T19:41:14","date_gmt":"2022-07-09T06:37:35","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/"},"modified":"2024-01-15T09:32:48","modified_gmt":"2024-01-15T01:32:48","slug":"git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/","title":{"rendered":"git fetch\u662f\u4ec0\u4e48\uff1f"},"content":{"rendered":"<h3>\u6211\u662f\u4e00\u4e2a\u521d\u5b66\u8005\u3002\u6211\u60f3\u7a81\u7136\u5199\u4e0b\u4e00\u4e9b\u56f0\u60d1\u7684\u95ee\u9898\u3002<\/h3>\n<h2>git fetch\u662f\u4ec0\u4e48\u610f\u601d\uff1f<\/h2>\n<h3>\u5408\u5e76\u4e86\u4f46\u6ca1\u6709\u5728\u672c\u5730\u53cd\u6620\u51fa\u6765\uff01<\/h3>\n<p>\u5728\u7c7b\u4f3c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<p>\u5728git\u4e2d\uff0c\u5b58\u5728\u4e24\u4e2a\u5b58\u50a8\u5e93\uff1a\u8fdc\u7a0b\u5b58\u50a8\u5e93\u548c\u672c\u5730\u5b58\u50a8\u5e93\u3002<br \/>\ngit fetch\u662f\u5c06\u8fdc\u7a0b\u5b58\u50a8\u5e93\u4e2d\u66f4\u65b0\u7684\u6700\u65b0\u4fe1\u606f\u62c9\u53d6\u5230\u672c\u5730\u5b58\u50a8\u5e93\u7684\u547d\u4ee4\u3002<br \/>\n\u7136\u800c\uff0c\u4e0epull\u4e0d\u540c\uff0c\u5b83\u5e76\u4e0d\u4f1a\u66f4\u65b0\u6587\u4ef6\u3002<\/p>\n<p>\u4e0d\u662f\u6587\u4ef6\u88ab\u66f4\u65b0\uff0c\u800c\u662forigin\/master\u88ab\u66f4\u65b0\u3002<\/p>\n<h2>&#8220;origin\/master&#8221; \u662f\u4ec0\u4e48\u610f\u601d\uff1f<\/h2>\n<h3>\u4e0e\u672c\u5730\u5de5\u4f5c\u76ee\u5f55\u76f8\u5173\u8054\u7684\u662f\u4e3b\u5206\u652f\u3002<\/h3>\n<h3>orgin\/master \u662f\u4e0e\u5b58\u50a8\u5e93\u76f8\u5173\u8054\u7684\u5206\u652f\u3002<\/h3>\n<p>\u5728\u672c\u5730\u4ed3\u5e93\u4e2d\uff0c\u5b58\u5728\u7740\u4e24\u4e2a\u4fe1\u606f\uff0c\u5206\u522b\u662fmaster\u548corigin\/master\u3002<br \/>\n\u5f53\u6267\u884cgit fetch\u65f6\uff0c\u5982\u679c\u6709\u65b0\u7684\u66f4\u65b0\uff0corigin\/master\u5c06\u4f1a\u53d8\u6210\u6700\u65b0\u72b6\u6001\u3002<br \/>\n\u7136\u800c\uff0c\u7531\u4e8emaster\u6ca1\u6709\u8fdb\u884c\u4efb\u4f55\u66f4\u65b0\uff0c\u56e0\u6b64\u9700\u8981\u8fdb\u884c\u5408\u5e76\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>git fetch\r\n<\/code><\/pre>\n<p>\u73b0\u5728\uff0corgin\/master\u5df2\u7ecf\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>git merge origin\/master\r\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u6837\uff0c\u672c\u5730\u6587\u4ef6\u4f1a\u66f4\u65b0\u5230\u6700\u65b0\u72b6\u6001\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u662f\u4e00\u4e2a\u521d\u5b66\u8005\u3002\u6211\u60f3\u7a81\u7136\u5199\u4e0b\u4e00\u4e9b\u56f0\u60d1\u7684\u95ee\u9898\u3002 git fetch\u662f\u4ec0\u4e48\u610f\u601d\uff1f \u5408\u5e76\u4e86\u4f46\u6ca1\u6709\u5728\u672c\u5730\u53cd\u6620\u51fa\u6765\uff01 \u5728 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37563","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 fetch\u662f\u4ec0\u4e48\uff1f - 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-fetch\u662f\u4ec0\u4e48\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"git fetch\u662f\u4ec0\u4e48\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u6211\u662f\u4e00\u4e2a\u521d\u5b66\u8005\u3002\u6211\u60f3\u7a81\u7136\u5199\u4e0b\u4e00\u4e9b\u56f0\u60d1\u7684\u95ee\u9898\u3002 git fetch\u662f\u4ec0\u4e48\u610f\u601d\uff1f \u5408\u5e76\u4e86\u4f46\u6ca1\u6709\u5728\u672c\u5730\u53cd\u6620\u51fa\u6765\uff01 \u5728 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch\u662f\u4ec0\u4e48\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-09T06:37:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T01:32:48+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \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=\"\u97f5, \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-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/\",\"name\":\"git fetch\u662f\u4ec0\u4e48\uff1f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-07-09T06:37:35+00:00\",\"dateModified\":\"2024-01-15T01:32:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"git fetch\u662f\u4ec0\u4e48\uff1f\"}]},{\"@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\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"git fetch\u662f\u4ec0\u4e48\uff1f - 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-fetch\u662f\u4ec0\u4e48\uff1f\/","og_locale":"zh_CN","og_type":"article","og_title":"git fetch\u662f\u4ec0\u4e48\uff1f","og_description":"\u6211\u662f\u4e00\u4e2a\u521d\u5b66\u8005\u3002\u6211\u60f3\u7a81\u7136\u5199\u4e0b\u4e00\u4e9b\u56f0\u60d1\u7684\u95ee\u9898\u3002 git fetch\u662f\u4ec0\u4e48\u610f\u601d\uff1f \u5408\u5e76\u4e86\u4f46\u6ca1\u6709\u5728\u672c\u5730\u53cd\u6620\u51fa\u6765\uff01 \u5728 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch\u662f\u4ec0\u4e48\uff1f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-07-09T06:37:35+00:00","article_modified_time":"2024-01-15T01:32:48+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/","name":"git fetch\u662f\u4ec0\u4e48\uff1f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-07-09T06:37:35+00:00","dateModified":"2024-01-15T01:32:48+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"git fetch\u662f\u4ec0\u4e48\uff1f"}]},{"@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\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-fetch%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37563","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=37563"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37563\/revisions"}],"predecessor-version":[{"id":58238,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37563\/revisions\/58238"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=37563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=37563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=37563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}