{"id":18947,"date":"2024-11-19T17:36:51","date_gmt":"2024-11-19T09:36:51","guid":{"rendered":"https:\/\/fwq.ai\/blog\/18947\/"},"modified":"2024-11-19T17:36:51","modified_gmt":"2024-11-19T09:36:51","slug":"%e6%95%99%e4%bd%a0%e6%80%8e%e4%b9%88%e4%b8%8b%e8%bd%bdgithub%e4%b8%8a%e7%9a%84%e8%b5%84%e6%ba%90","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/18947\/","title":{"rendered":"\u6559\u4f60\u600e\u4e48\u4e0b\u8f7dGitHub\u4e0a\u7684\u8d44\u6e90"},"content":{"rendered":"<p>\u5728\u5982\u4eca\u7684\u8f6f\u4ef6\u5f00\u53d1\u9886\u57df\u4e2d\uff0cgithub\u5df2\u7ecf\u6210\u4e3a\u4e86\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u3002\u5b83\u662f\u4e00\u4e2a\u4e16\u754c\u4e0a\u6700\u5927\u7684\u5f00\u6e90\u793e\u533a\uff0c\u540c\u65f6\u4e5f\u662f\u6700\u4fbf\u6377\u7684\u7248\u672c\u63a7\u5236\u5de5\u5177\u4e4b\u4e00\u3002github\u4e0a\u7684\u8d44\u6e90\u5305\u62ec\u7a0b\u5e8f\u4ee3\u7801\u3001\u6587\u6863\u3001\u56fe\u7247\u7b49\u7b49\uff0c\u8fd9\u4e9b\u8d44\u6e90\u5f80\u5f80\u662f\u5f00\u653e\u3001\u514d\u8d39\u7684\uff0c\u5e76\u53ef\u4ee5\u5728\u7248\u672c\u63a7\u5236\u4e0b\u5171\u4eab\u548c\u534f\u4f5c\u3002\u7136\u800c\uff0c\u8bb8\u591a\u4eba\u5e76\u4e0d\u77e5\u9053\u8be5\u5982\u4f55\u4e0b\u8f7dgithub\u4e0a\u7684\u8d44\u6e90\uff0c\u4e0b\u9762\u5c31\u8ba9\u6211\u4eec\u6765\u8be6\u7ec6\u4ecb\u7ecd\u4e00\u4e0b\u5427\u3002<\/p>\n<p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728GitHub\u4e0a\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\uff0c\u8fd9\u662f\u514d\u8d39\u7684\u3002\u6ce8\u518c\u5b8c\u6210\u540e\uff0c\u4f60\u9700\u8981\u8fdb\u5165GitHub\u5b98\u7f51\uff0c\u5e76\u767b\u5f55\u5230\u4f60\u7684\u8d26\u53f7\u4e2d\u3002\u5728\u5de6\u4e0a\u89d2\u7684\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u4f60\u60f3\u8981\u4e0b\u8f7d\u7684\u8d44\u6e90\u540d\uff0c\u5982\u201cBootstrap\u201d\uff0c\u7136\u540e\u70b9\u51fb\u641c\u7d22\u6309\u94ae\u8fdb\u884c\u641c\u7d22\u3002<\/p>\n<p>\u5728\u641c\u7d22\u7ed3\u679c\u9875\u9762\u4e2d\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u6240\u6709\u76f8\u5173\u7684\u8d44\u6e90\u3002\u9009\u62e9\u4f60\u60f3\u8981\u4e0b\u8f7d\u7684\u8d44\u6e90\uff0c\u70b9\u51fb\u5b83\u7684\u540d\u79f0\u94fe\u63a5\uff0c\u8fd9\u5c06\u628a\u4f60\u5e26\u5230\u8d44\u6e90\u7684\u4e3b\u9875\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p>\u5728\u8d44\u6e90\u7684\u4e3b\u9875\u4e2d\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u8d44\u6e90\u7684\u6e90\u4ee3\u7801\uff0c\u4ee5\u53ca\u60a8\u53ef\u4ee5\u4e0b\u8f7d\u7684\u5404\u4e2a\u7248\u672c\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u60a8\u4f1a\u770b\u5230\u6e90\u4ee3\u7801\u7684\u6700\u65b0\u7248\u672c\u3002\u5982\u679c\u8981\u4e0b\u8f7d\u65e9\u671f\u7248\u672c\u7684\u6e90\u4ee3\u7801\uff0c\u8bf7\u5355\u51fb\u201cBranch\u201d\u4e0b\u62c9\u83dc\u5355\uff0c\u9009\u62e9\u60a8\u8981\u4e0b\u8f7d\u7684\u7248\u672c\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u5355\u51fb\u201cClone or download\u201d\u6309\u94ae\uff0c\u8fd9\u5c06\u5f39\u51fa\u4e00\u4e2a\u4e0b\u62c9\u83dc\u5355\uff0c\u4f60\u9700\u8981\u5728\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u201cDownload ZIP\u201d\u9009\u9879\uff0c\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u4e0b\u8f7d\u5230\u6574\u4e2a\u8d44\u6e90\u7684ZIP\u6587\u4ef6\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p>\u5728\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u89e3\u538bZIP\u6587\u4ef6\u5373\u53ef\u5f97\u5230\u6240\u6709\u6e90\u4ee3\u7801\u3002\u5982\u679c\u60a8\u5728Windows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528WinRAR\u62167-Zip\u7b49\u5de5\u5177\u89e3\u538bZIP\u6587\u4ef6\u3002\u5982\u679c\u5728Mac\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u81ea\u5e26\u7684\u89e3\u538b\u5de5\u5177\u8fdb\u884c\u89e3\u538b\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u5728GitHub\u4e0a\u4e5f\u6709\u4e00\u4e9b\u8d44\u6e90\u662f\u53ef\u4ee5\u7528git\u547d\u4ee4\u884c\u5de5\u5177\u4e0b\u8f7d\u7684\u3002\u8981\u4f7f\u7528git\u547d\u4ee4\u6765\u4e0b\u8f7d\u8d44\u6e90\uff0c\u4f60\u9700\u8981\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<pre>git clone git:\/\/github.com\/user\/repo.git<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u6ce8\u610f\uff0c\u4f60\u9700\u8981\u5c06\u201cuser\u201d\u548c\u201crepo\u201d\u66ff\u6362\u4e3a\u4f60\u8981\u4e0b\u8f7d\u8d44\u6e90\u7684\u4f5c\u8005\u548c\u8d44\u6e90\u540d\u79f0\u3002\u5982\u679c\u4e00\u5207\u987a\u5229\uff0cgit\u5c06\u4f1a\u4e0b\u8f7d\u6240\u6709\u7684\u6e90\u4ee3\u7801\u5230\u5f53\u524d\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>\u603b\u7ed3\u800c\u8a00\uff0c\u4e0b\u8f7dGitHub\u8d44\u6e90\u5e76\u4e0d\u96be\uff0c\u53ea\u9700\u8981\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u60a8\u8981\u4e0b\u8f7d\u7684\u5185\u5bb9\u540d\u79f0\uff0c\u7136\u540e\u9009\u62e9\u8981\u4e0b\u8f7d\u7684\u7248\u672c\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u201cDownload ZIP\u201d\u6309\u94ae\u6765\u4e0b\u8f7d\u5b8c\u6574\u7684\u8d44\u6e90\u5305\u3002\u53e6\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528git\u547d\u4ee4\u884c\u5de5\u5177\u8fdb\u884c\u4e0b\u8f7d\u3002\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u638c\u63e1\u8fd9\u4e2a\u6280\u80fd\u5c06\u4f1a\u8ba9\u4f60\u7684\u5f00\u53d1\u6548\u7387\u4e8b\u534a\u529f\u500d\uff0c\u503c\u5f97\u5c1d\u8bd5\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u6559\u4f60\u600e\u4e48\u4e0b\u8f7dGitHub\u4e0a\u7684\u8d44\u6e90\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>\u5728\u5982\u4eca\u7684\u8f6f\u4ef6\u5f00\u53d1\u9886\u57df\u4e2d\uff0cgithub\u5df2\u7ecf\u6210\u4e3a\u4e86\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u3002\u5b83\u662f\u4e00\u4e2a\u4e16\u754c\u4e0a\u6700\u5927\u7684\u5f00\u6e90\u793e\u533a\uff0c\u540c\u65f6\u4e5f\u662f\u6700\u4fbf\u6377\u7684\u7248\u672c\u63a7\u5236\u5de5\u5177\u4e4b\u4e00\u3002github\u4e0a\u7684\u8d44\u6e90\u5305\u62ec\u7a0b\u5e8f\u4ee3\u7801\u3001\u6587\u6863\u3001\u56fe\u7247\u7b49\u7b49\uff0c\u8fd9\u4e9b\u8d44\u6e90\u5f80\u5f80\u662f\u5f00\u653e\u3001\u514d\u8d39\u7684\uff0c\u5e76\u53ef\u4ee5\u5728\u7248\u672c\u63a7\u5236\u4e0b\u5171\u4eab\u548c\u534f\u4f5c\u3002\u7136\u800c\uff0c\u8bb8\u591a\u4eba\u5e76\u4e0d\u77e5\u9053\u8be5\u5982\u4f55\u4e0b\u8f7dgithub\u4e0a\u7684\u8d44\u6e90\uff0c\u4e0b\u9762\u5c31\u8ba9\u6211\u4eec\u6765\u8be6\u7ec6\u4ecb\u7ecd\u4e00\u4e0b\u5427\u3002 \u9996\u5148\uff0c\u4f60\u9700\u8981\u5728GitHub\u4e0a\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\uff0c\u8fd9\u662f\u514d\u8d39\u7684\u3002\u6ce8\u518c\u5b8c\u6210\u540e\uff0c\u4f60\u9700\u8981\u8fdb\u5165GitHub\u5b98\u7f51\uff0c\u5e76\u767b\u5f55\u5230\u4f60\u7684\u8d26\u53f7\u4e2d\u3002\u5728\u5de6\u4e0a\u89d2\u7684\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u4f60\u60f3\u8981\u4e0b\u8f7d\u7684\u8d44\u6e90\u540d\uff0c\u5982\u201cBootstrap\u201d\uff0c\u7136\u540e\u70b9\u51fb\u641c\u7d22\u6309\u94ae\u8fdb\u884c\u641c\u7d22\u3002 \u5728\u641c\u7d22\u7ed3\u679c\u9875\u9762\u4e2d\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u6240\u6709\u76f8\u5173\u7684\u8d44\u6e90\u3002\u9009\u62e9\u4f60\u60f3\u8981\u4e0b\u8f7d\u7684\u8d44\u6e90\uff0c\u70b9\u51fb\u5b83\u7684\u540d\u79f0\u94fe\u63a5\uff0c\u8fd9\u5c06\u628a\u4f60\u5e26\u5230\u8d44\u6e90\u7684\u4e3b\u9875\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002 \u5728\u8d44\u6e90\u7684\u4e3b\u9875\u4e2d\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u8d44\u6e90\u7684\u6e90\u4ee3\u7801\uff0c\u4ee5\u53ca\u60a8\u53ef\u4ee5\u4e0b\u8f7d\u7684\u5404\u4e2a\u7248\u672c\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u60a8\u4f1a\u770b\u5230\u6e90\u4ee3\u7801\u7684\u6700\u65b0\u7248\u672c\u3002\u5982\u679c\u8981\u4e0b\u8f7d\u65e9\u671f\u7248\u672c\u7684\u6e90\u4ee3\u7801\uff0c\u8bf7\u5355\u51fb\u201cBranch\u201d\u4e0b\u62c9\u83dc\u5355\uff0c\u9009\u62e9\u60a8\u8981\u4e0b\u8f7d\u7684\u7248\u672c\u3002 \u63a5\u4e0b\u6765\uff0c\u5355\u51fb\u201cClone or download\u201d\u6309\u94ae\uff0c\u8fd9\u5c06\u5f39\u51fa\u4e00\u4e2a\u4e0b\u62c9\u83dc\u5355\uff0c\u4f60\u9700\u8981\u5728\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u201cDownload ZIP\u201d\u9009\u9879\uff0c\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u4e0b\u8f7d\u5230\u6574\u4e2a\u8d44\u6e90\u7684ZIP\u6587\u4ef6\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002 \u5728\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u89e3\u538bZIP\u6587\u4ef6\u5373\u53ef\u5f97\u5230\u6240\u6709\u6e90\u4ee3\u7801\u3002\u5982\u679c\u60a8\u5728Windows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528WinRAR\u62167-Zip\u7b49\u5de5\u5177\u89e3\u538bZIP\u6587\u4ef6\u3002\u5982\u679c\u5728Mac\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u81ea\u5e26\u7684\u89e3\u538b\u5de5\u5177\u8fdb\u884c\u89e3\u538b\u3002 \u6b64\u5916\uff0c\u5728GitHub\u4e0a\u4e5f\u6709\u4e00\u4e9b\u8d44\u6e90\u662f\u53ef\u4ee5\u7528git\u547d\u4ee4\u884c\u5de5\u5177\u4e0b\u8f7d\u7684\u3002\u8981\u4f7f\u7528git\u547d\u4ee4\u6765\u4e0b\u8f7d\u8d44\u6e90\uff0c\u4f60\u9700\u8981\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u3002 git clone git:\/\/github.com\/user\/repo.git \u767b\u5f55\u540e\u590d\u5236 \u6ce8\u610f\uff0c\u4f60\u9700\u8981\u5c06\u201cuser\u201d\u548c\u201crepo\u201d\u66ff\u6362\u4e3a\u4f60\u8981\u4e0b\u8f7d\u8d44\u6e90\u7684\u4f5c\u8005\u548c\u8d44\u6e90\u540d\u79f0\u3002\u5982\u679c\u4e00\u5207\u987a\u5229\uff0cgit\u5c06\u4f1a\u4e0b\u8f7d\u6240\u6709\u7684\u6e90\u4ee3\u7801\u5230\u5f53\u524d\u76ee\u5f55\u4e2d\u3002 \u603b\u7ed3\u800c\u8a00\uff0c\u4e0b\u8f7dGitHub\u8d44\u6e90\u5e76\u4e0d\u96be\uff0c\u53ea\u9700\u8981\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u60a8\u8981\u4e0b\u8f7d\u7684\u5185\u5bb9\u540d\u79f0\uff0c\u7136\u540e\u9009\u62e9\u8981\u4e0b\u8f7d\u7684\u7248\u672c\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7\u70b9\u51fb\u201cDownload ZIP\u201d\u6309\u94ae\u6765\u4e0b\u8f7d\u5b8c\u6574\u7684\u8d44\u6e90\u5305\u3002\u53e6\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528git\u547d\u4ee4\u884c\u5de5\u5177\u8fdb\u884c\u4e0b\u8f7d\u3002\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u638c\u63e1\u8fd9\u4e2a\u6280\u80fd\u5c06\u4f1a\u8ba9\u4f60\u7684\u5f00\u53d1\u6548\u7387\u4e8b\u534a\u529f\u500d\uff0c\u503c\u5f97\u5c1d\u8bd5\u3002 \u4ee5\u4e0a\u5c31\u662f\u6559\u4f60\u600e\u4e48\u4e0b\u8f7dGitHub\u4e0a\u7684\u8d44\u6e90\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-18947","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18947","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=18947"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18947\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=18947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=18947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=18947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}