{"id":731,"date":"2020-08-09T17:45:43","date_gmt":"2020-08-09T09:45:43","guid":{"rendered":"https:\/\/aichh.com\/?p=731"},"modified":"2020-08-09T17:45:43","modified_gmt":"2020-08-09T09:45:43","slug":"github%e4%b8%8afork%e4%ba%86%e5%88%ab%e4%ba%ba%e7%9a%84%e9%a1%b9%e7%9b%ae%e5%90%8e%ef%bc%8c%e5%86%8d%e5%90%8c%e6%ad%a5%e6%9b%b4%e6%96%b0%e5%88%ab%e4%ba%ba%e7%9a%84%e6%8f%90%e4%ba%a4","status":"publish","type":"post","link":"https:\/\/aichh.com\/731.html","title":{"rendered":"github\u4e0afork\u4e86\u522b\u4eba\u7684\u9879\u76ee\u540e\uff0c\u518d\u540c\u6b65\u66f4\u65b0\u522b\u4eba\u7684\u63d0\u4ea4"},"content":{"rendered":"<!--wp-compress-html--><!--wp-compress-html no compression--><p>\u6211\u4ecegithub\u7f51\u7ad9\u548c\u7528git\u547d\u4ee4\u4e24\u79cd\u65b9\u5f0f\u8bf4\u4e00\u4e0b\u3002<\/p>\n<p><strong>1.github\u7f51\u7ad9\u4e0a\u64cd\u4f5c<\/strong><br \/>\n\u6253\u5f00\u81ea\u5df1\u7684\u4ed3\u5e93\uff0c\u8fdb\u5165code\u4e0b\u9762\u3002<br \/>\n\u70b9\u51fbnew pull request\u521b\u5efa\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"20170221001500650\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/20170221001500650.jpg\" width=\"1012\" height=\"667\">\u9009\u62e9base fork,\u9009\u62e9head fork<br \/>\n\u70b9\u51fbCreate pull request\uff0c\u5e76\u586b\u5199\u521b\u5efa\u4fe1\u606f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"20170221001519228\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/20170221001519228.jpg\" width=\"1008\" height=\"665\"><img loading=\"lazy\" decoding=\"async\" title=\"20170226194654555\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/20170226194654555.jpg\" width=\"1048\" height=\"593\">\u70b9\u51fbMerge pull request \u5408\u5e76\u4ece\u6e90fork\u6765\u7684\u4ee3\u7801\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"20170221001548713\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/20170221001548713.jpg\" width=\"1067\" height=\"644\"><\/p>\n<p>\u5b8c\u6210\u3002<\/p>\n<p><strong>2.\u7528git\u547d\u4ee4\u64cd\u4f5c<\/strong><br \/>\n\u7528git remote\u67e5\u770b\u8fdc\u7a0b\u4e3b\u673a\u72b6\u6001<\/p>\n<pre>git remote -v \r\ngit remote add upstream git@github.com:xxx\/xxx.git\r\ngit fetch upstream\r\ngit merge upstream\/master\r\ngit push<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"20170221095054215\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/20170221095054215.jpg\" width=\"684\" height=\"732\"><img loading=\"lazy\" decoding=\"async\" title=\"20170221095105168\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/20170221095105168.jpg\" width=\"685\" height=\"732\"><img loading=\"lazy\" decoding=\"async\" title=\"20170221095114372\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2020\/08\/20170221095114372.jpg\" width=\"685\" height=\"704\"><\/p>\n<p>&nbsp;<\/p>\n<p>VIA:https:\/\/blog.csdn.net\/qq1332479771\/article\/details\/56087333<\/p>\n<!--wp-compress-html no compression--><!--wp-compress-html-->","protected":false},"excerpt":{"rendered":"\u6211\u4ecegithub\u7f51\u7ad9\u548c\u7528git\u547d\u4ee4\u4e24\u79cd\u65b9\u5f0f\u8bf4\u4e00\u4e0b\u3002 1.github\u7f51\u7ad9\u4e0a\u64cd\u4f5c \u6253\u5f00\u81ea\u5df1\u7684\u4ed3\u5e93\uff0c\u8fdb\u5165code\u4e0b\u9762\u3002 \u70b9\u51fbnew pull request\u521b\u5efa\u3002 \u9009\u62e9base fork,\u9009\u62e9head f \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[171,173,170],"class_list":["post-731","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","tag-fork","tag-git","tag-github"],"views":293,"_links":{"self":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/comments?post=731"}],"version-history":[{"count":1,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/731\/revisions"}],"predecessor-version":[{"id":747,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/731\/revisions\/747"}],"wp:attachment":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/media?parent=731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/categories?post=731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/tags?post=731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}