{"id":18824,"date":"2024-11-19T14:07:15","date_gmt":"2024-11-19T06:07:15","guid":{"rendered":"https:\/\/fwq.ai\/blog\/18824\/"},"modified":"2024-11-19T14:07:15","modified_gmt":"2024-11-19T06:07:15","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8github%e4%b8%8a%e4%bd%bf%e7%94%a8%e5%9f%ba%e6%9c%ac%e7%9a%84%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/18824\/","title":{"rendered":"\u5982\u4f55\u5728GitHub\u4e0a\u4f7f\u7528\u57fa\u672c\u7684\u529f\u80fd"},"content":{"rendered":"<p>github\u662f\u5168\u7403\u6700\u5927\u7684\u793e\u4ea4\u7f16\u7a0b\u5e73\u53f0\uff0c\u5b83\u662f\u4e00\u4e2a\u57fa\u4e8egit\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u7684\u5e73\u53f0\uff0c\u7528\u4e8e\u5b58\u50a8\u3001\u7ba1\u7406\u548c\u5206\u4eab\u8f6f\u4ef6\u4ee3\u7801\u3002github\u4e0d\u4ec5\u662f\u5f00\u53d1\u8005\u4eec\u5171\u4eab\u4ee3\u7801\u7684\u9996\u9009\u5730\uff0c\u4e5f\u662f\u8bb8\u591a\u5f00\u6e90\u9879\u76ee\u7684\u91cd\u8981\u6258\u7ba1\u5e73\u53f0\u3002<\/p>\n<p>\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728GitHub\u4e0a\u4f7f\u7528\u57fa\u672c\u7684\u529f\u80fd\uff0c\u5e2e\u52a9\u521d\u5b66\u8005\u8fdb\u5165\u793e\u4ea4\u7f16\u7a0b\u7684\u4e16\u754c\u3002<\/p>\n<p>\u4e00\u3001 \u6ce8\u518c\u4e00\u4e2aGitHub\u8d26\u53f7<\/p>\n<p>\u9996\u5148\uff0c\u8bbf\u95eehttps:\/\/github.com\/\uff0c\u70b9\u51fb\u201cSign up\u201d\u6309\u94ae\uff0c\u6309\u7167\u63d0\u793a\u586b\u5199\u76f8\u5173\u6ce8\u518c\u4fe1\u606f\uff0c\u5305\u62ec\u7528\u6237\u540d\u3001\u90ae\u7bb1\u5730\u5740\u548c\u5bc6\u7801\u7b49\u3002GitHub\u4f1a\u5411\u4f60\u7684\u90ae\u7bb1\u53d1\u9001\u4e00\u5c01\u786e\u8ba4\u90ae\u4ef6\uff0c\u70b9\u51fb\u94fe\u63a5\u540e\u5c31\u53ef\u4ee5\u767b\u5f55\u4f60\u7684GitHub\u8d26\u53f7\u4e86\u3002<\/p>\n<p>\u4e8c\u3001 \u521b\u5efa\u4e00\u4e2a\u65b0\u4ed3\u5e93<\/p>\n<p>\u5728GitHub\u9875\u9762\u53f3\u4e0a\u89d2\uff0c\u70b9\u51fb\u201c+\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cNew repository\u201d\u65b0\u5efa\u4ed3\u5e93\u3002\u5728\u201cCreate a new repository\u201d\u9875\u9762\u4e0a\uff0c\u586b\u5199\u4ed3\u5e93\u7684\u540d\u79f0\u3001\u63cf\u8ff0\u548c\u8bb8\u53ef\u8bc1\u7b49\u4fe1\u606f\uff0c\u70b9\u51fb\u201cCreate repository\u201d\u6309\u94ae\u5373\u53ef\u521b\u5efa\u65b0\u7684\u4ed3\u5e93\u3002<\/p>\n<p>\u4e09\u3001 \u5728\u4ed3\u5e93\u4e2d\u521b\u5efa\u4e00\u4e2a\u5206\u652f<\/p>\n<p>\u5728\u4ed3\u5e93\u9875\u9762\u4e2d\uff0c\u70b9\u51fb\u201cBranch\u201d\u4e0b\u62c9\u83dc\u5355\uff0c\u5e76\u8f93\u5165\u65b0\u5206\u652f\u7684\u540d\u79f0\u3002\u7136\u540e\u70b9\u51fb\u201cCreate branch\u201d\u6309\u94ae\uff0c\u5c31\u53ef\u4ee5\u521b\u5efa\u65b0\u5206\u652f\u4e86\u3002\u5206\u652f\u662fGit\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5728\u4e0d\u5f71\u54cd\u539f\u6709\u4ee3\u7801\u7684\u540c\u65f6\uff0c\u5bf9\u4ee3\u7801\u8fdb\u884c\u4fee\u6539\u548c\u6d4b\u8bd5\u3002<\/p>\n<p>\u56db\u3001 \u63d0\u4ea4\u4ee3\u7801<\/p>\n<p>\u5728\u521b\u5efa\u65b0\u5206\u652f\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u201cUpload files\u201d\u6309\u94ae\u4e0a\u4f20\u672c\u5730\u4ee3\u7801\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u5728\u4ed3\u5e93\u4e2d\u4f7f\u7528\u201cCreate new file\u201d\u521b\u5efa\u65b0\u7684\u4ee3\u7801\u6587\u4ef6\u3002\u4e0d\u7ba1\u54ea\u79cd\u65b9\u5f0f\uff0c\u90fd\u9700\u8981\u586b\u5199\u6587\u4ef6\u540d\u548c\u6587\u4ef6\u5185\u5bb9\uff0c\u7136\u540e\u4f7f\u7528\u201cCommit changes\u201d\u63d0\u4ea4\u4ee3\u7801\u3002<\/p>\n<p>\u4e94\u3001 \u53d1\u5e03Pull Request<\/p>\n<p>\u5b8c\u6210\u4ee3\u7801\u63d0\u4ea4\u540e\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u5c06\u4fee\u6539\u63d0\u4ea4\u7ed9\u9879\u76ee\u8d1f\u8d23\u4eba\u8fdb\u884c\u5ba1\u6838\u548c\u5408\u5e76\u3002\u8fd9\u5c31\u9700\u8981\u4f7f\u7528\u5230Pull Request\u529f\u80fd\u4e86\u3002\u5728\u4ed3\u5e93\u9875\u9762\u4e2d\uff0c\u70b9\u51fb\u201cPull requests\u201d\u9875\u9762\uff0c\u7136\u540e\u70b9\u51fb\u9875\u9762\u4e2d\u7684\u201cNew pull request\u201d\u6309\u94ae\u3002\u586b\u5199Pull Request\u7684\u6807\u9898\u548c\u63cf\u8ff0\uff0c\u9009\u62e9\u8be5Pull Request\u6240\u6d89\u53ca\u7684\u5206\u652f\uff0c\u6700\u540e\u70b9\u51fb\u201cCreate pull request\u201d\u5373\u53ef\u63d0\u4ea4\u5ba1\u6838\u3002<\/p>\n<p>\u516d\u3001 \u53c2\u4e0e\u5f00\u6e90\u9879\u76ee<\/p>\n<p>GitHub\u4e0a\u6709\u8bb8\u591a\u4f18\u79c0\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u53c2\u4e0e\u8fd9\u4e9b\u9879\u76ee\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5b66\u4e60\u65b0\u6280\u672f\u3001\u7ed3\u4ea4\u65b0\u670b\u53cb\u548c\u589e\u52a0\u5bf9\u7f16\u7a0b\u7684\u70ed\u60c5\u3002\u5728GitHub\u9875\u9762\u4e2d\uff0c\u641c\u7d22\u611f\u5174\u8da3\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u67e5\u770b\u9879\u76ee\u8be6\u60c5\u548c\u5386\u53f2\u8bb0\u5f55\u3002\u5982\u679c\u4f60\u6709\u5efa\u8bae\u6216\u8005\u53d1\u73b0\u9879\u76ee\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u548c\u9879\u76ee\u8d1f\u8d23\u4eba\u6c9f\u901a\uff0c\u53d1\u8d77Pull Request\u6765\u5e2e\u52a9\u6539\u5584\u9879\u76ee\u3002<\/p>\n<p>GitHub\u662f\u4e00\u4e2a\u4e0d\u4ec5\u4ec5\u9650\u4e8e\u5b58\u50a8\u3001\u7ba1\u7406\u4ee3\u7801\u7684\u5e73\u53f0\uff0c\u5b83\u8fd8\u662f\u4e00\u4e2a\u5e9e\u5927\u7684\u793e\u4ea4\u7f51\u7edc\uff0c\u4e3a\u5f00\u53d1\u8005\u4eec\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5e7f\u9614\u7684\u4ea4\u6d41\u7a7a\u95f4\u3002\u5b66\u4e60\u5e76\u638c\u63e1GitHub\u7684\u57fa\u7840\u529f\u80fd\uff0c\u53ef\u4ee5\u8ba9\u4f60\u66f4\u52a0\u8f7b\u677e\u5730\u8fdb\u5165\u793e\u4ea4\u7f16\u7a0b\u4e16\u754c\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u5728GitHub\u4e0a\u4f7f\u7528\u57fa\u672c\u7684\u529f\u80fd\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>github\u662f\u5168\u7403\u6700\u5927\u7684\u793e\u4ea4\u7f16\u7a0b\u5e73\u53f0\uff0c\u5b83\u662f\u4e00\u4e2a\u57fa\u4e8egit\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u7684\u5e73\u53f0\uff0c\u7528\u4e8e\u5b58\u50a8\u3001\u7ba1\u7406\u548c\u5206\u4eab\u8f6f\u4ef6\u4ee3\u7801\u3002github\u4e0d\u4ec5\u662f\u5f00\u53d1\u8005\u4eec\u5171\u4eab\u4ee3\u7801\u7684\u9996\u9009\u5730\uff0c\u4e5f\u662f\u8bb8\u591a\u5f00\u6e90\u9879\u76ee\u7684\u91cd\u8981\u6258\u7ba1\u5e73\u53f0\u3002 \u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728GitHub\u4e0a\u4f7f\u7528\u57fa\u672c\u7684\u529f\u80fd\uff0c\u5e2e\u52a9\u521d\u5b66\u8005\u8fdb\u5165\u793e\u4ea4\u7f16\u7a0b\u7684\u4e16\u754c\u3002 \u4e00\u3001 \u6ce8\u518c\u4e00\u4e2aGitHub\u8d26\u53f7 \u9996\u5148\uff0c\u8bbf\u95eehttps:\/\/github.com\/\uff0c\u70b9\u51fb\u201cSign up\u201d\u6309\u94ae\uff0c\u6309\u7167\u63d0\u793a\u586b\u5199\u76f8\u5173\u6ce8\u518c\u4fe1\u606f\uff0c\u5305\u62ec\u7528\u6237\u540d\u3001\u90ae\u7bb1\u5730\u5740\u548c\u5bc6\u7801\u7b49\u3002GitHub\u4f1a\u5411\u4f60\u7684\u90ae\u7bb1\u53d1\u9001\u4e00\u5c01\u786e\u8ba4\u90ae\u4ef6\uff0c\u70b9\u51fb\u94fe\u63a5\u540e\u5c31\u53ef\u4ee5\u767b\u5f55\u4f60\u7684GitHub\u8d26\u53f7\u4e86\u3002 \u4e8c\u3001 \u521b\u5efa\u4e00\u4e2a\u65b0\u4ed3\u5e93 \u5728GitHub\u9875\u9762\u53f3\u4e0a\u89d2\uff0c\u70b9\u51fb\u201c+\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cNew repository\u201d\u65b0\u5efa\u4ed3\u5e93\u3002\u5728\u201cCreate a new repository\u201d\u9875\u9762\u4e0a\uff0c\u586b\u5199\u4ed3\u5e93\u7684\u540d\u79f0\u3001\u63cf\u8ff0\u548c\u8bb8\u53ef\u8bc1\u7b49\u4fe1\u606f\uff0c\u70b9\u51fb\u201cCreate repository\u201d\u6309\u94ae\u5373\u53ef\u521b\u5efa\u65b0\u7684\u4ed3\u5e93\u3002 \u4e09\u3001 \u5728\u4ed3\u5e93\u4e2d\u521b\u5efa\u4e00\u4e2a\u5206\u652f \u5728\u4ed3\u5e93\u9875\u9762\u4e2d\uff0c\u70b9\u51fb\u201cBranch\u201d\u4e0b\u62c9\u83dc\u5355\uff0c\u5e76\u8f93\u5165\u65b0\u5206\u652f\u7684\u540d\u79f0\u3002\u7136\u540e\u70b9\u51fb\u201cCreate branch\u201d\u6309\u94ae\uff0c\u5c31\u53ef\u4ee5\u521b\u5efa\u65b0\u5206\u652f\u4e86\u3002\u5206\u652f\u662fGit\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5728\u4e0d\u5f71\u54cd\u539f\u6709\u4ee3\u7801\u7684\u540c\u65f6\uff0c\u5bf9\u4ee3\u7801\u8fdb\u884c\u4fee\u6539\u548c\u6d4b\u8bd5\u3002 \u56db\u3001 \u63d0\u4ea4\u4ee3\u7801 \u5728\u521b\u5efa\u65b0\u5206\u652f\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u201cUpload files\u201d\u6309\u94ae\u4e0a\u4f20\u672c\u5730\u4ee3\u7801\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u5728\u4ed3\u5e93\u4e2d\u4f7f\u7528\u201cCreate new file\u201d\u521b\u5efa\u65b0\u7684\u4ee3\u7801\u6587\u4ef6\u3002\u4e0d\u7ba1\u54ea\u79cd\u65b9\u5f0f\uff0c\u90fd\u9700\u8981\u586b\u5199\u6587\u4ef6\u540d\u548c\u6587\u4ef6\u5185\u5bb9\uff0c\u7136\u540e\u4f7f\u7528\u201cCommit changes\u201d\u63d0\u4ea4\u4ee3\u7801\u3002 \u4e94\u3001 \u53d1\u5e03Pull Request \u5b8c\u6210\u4ee3\u7801\u63d0\u4ea4\u540e\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u5c06\u4fee\u6539\u63d0\u4ea4\u7ed9\u9879\u76ee\u8d1f\u8d23\u4eba\u8fdb\u884c\u5ba1\u6838\u548c\u5408\u5e76\u3002\u8fd9\u5c31\u9700\u8981\u4f7f\u7528\u5230Pull Request\u529f\u80fd\u4e86\u3002\u5728\u4ed3\u5e93\u9875\u9762\u4e2d\uff0c\u70b9\u51fb\u201cPull requests\u201d\u9875\u9762\uff0c\u7136\u540e\u70b9\u51fb\u9875\u9762\u4e2d\u7684\u201cNew pull request\u201d\u6309\u94ae\u3002\u586b\u5199Pull Request\u7684\u6807\u9898\u548c\u63cf\u8ff0\uff0c\u9009\u62e9\u8be5Pull Request\u6240\u6d89\u53ca\u7684\u5206\u652f\uff0c\u6700\u540e\u70b9\u51fb\u201cCreate pull request\u201d\u5373\u53ef\u63d0\u4ea4\u5ba1\u6838\u3002 \u516d\u3001 \u53c2\u4e0e\u5f00\u6e90\u9879\u76ee GitHub\u4e0a\u6709\u8bb8\u591a\u4f18\u79c0\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u53c2\u4e0e\u8fd9\u4e9b\u9879\u76ee\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5b66\u4e60\u65b0\u6280\u672f\u3001\u7ed3\u4ea4\u65b0\u670b\u53cb\u548c\u589e\u52a0\u5bf9\u7f16\u7a0b\u7684\u70ed\u60c5\u3002\u5728GitHub\u9875\u9762\u4e2d\uff0c\u641c\u7d22\u611f\u5174\u8da3\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u67e5\u770b\u9879\u76ee\u8be6\u60c5\u548c\u5386\u53f2\u8bb0\u5f55\u3002\u5982\u679c\u4f60\u6709\u5efa\u8bae\u6216\u8005\u53d1\u73b0\u9879\u76ee\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u548c\u9879\u76ee\u8d1f\u8d23\u4eba\u6c9f\u901a\uff0c\u53d1\u8d77Pull Request\u6765\u5e2e\u52a9\u6539\u5584\u9879\u76ee\u3002 GitHub\u662f\u4e00\u4e2a\u4e0d\u4ec5\u4ec5\u9650\u4e8e\u5b58\u50a8\u3001\u7ba1\u7406\u4ee3\u7801\u7684\u5e73\u53f0\uff0c\u5b83\u8fd8\u662f\u4e00\u4e2a\u5e9e\u5927\u7684\u793e\u4ea4\u7f51\u7edc\uff0c\u4e3a\u5f00\u53d1\u8005\u4eec\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5e7f\u9614\u7684\u4ea4\u6d41\u7a7a\u95f4\u3002\u5b66\u4e60\u5e76\u638c\u63e1GitHub\u7684\u57fa\u7840\u529f\u80fd\uff0c\u53ef\u4ee5\u8ba9\u4f60\u66f4\u52a0\u8f7b\u677e\u5730\u8fdb\u5165\u793e\u4ea4\u7f16\u7a0b\u4e16\u754c\u3002 \u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u5728GitHub\u4e0a\u4f7f\u7528\u57fa\u672c\u7684\u529f\u80fd\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-18824","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=18824"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18824\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=18824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=18824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=18824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}