{"id":20057,"date":"2024-11-19T08:15:33","date_gmt":"2024-11-19T00:15:33","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20057\/"},"modified":"2024-11-19T08:15:33","modified_gmt":"2024-11-19T00:15:33","slug":"github%e6%80%8e%e4%b9%88%e5%88%a0%e9%99%a4gist","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20057\/","title":{"rendered":"github\u600e\u4e48\u5220\u9664gist"},"content":{"rendered":"<p>github\u662f\u4e00\u4e2a\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u5f00\u6e90\u4ed3\u5e93\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u521b\u5efa\u81ea\u5df1\u7684\u4ee3\u7801\u7247\u6bb5\u5e76\u4e0e\u5176\u4ed6\u5f00\u53d1\u4eba\u5458\u5171\u4eab\u3002\u4e00\u79cd\u521b\u5efa\u4ee3\u7801\u7247\u6bb5\u7684\u65b9\u5f0f\u662f\u4f7f\u7528gist\u3002gist\u662f\u4e00\u4e2a\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u8f7b\u677e\u7ba1\u7406\u548c\u5206\u4eab\u4ee3\u7801\u7247\u6bb5\u7684github\u7684web\u5e94\u7528\u7a0b\u5e8f\u3002\u4f46\u662f\uff0c\u6709\u53ef\u80fd\u4e0d\u9700\u8981\u4e00\u4e9b\u65e7\u7684\u548c\u4e0d\u518d\u9700\u8981\u7684\u7247\u6bb5\uff0c\u6240\u4ee5\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u5b66\u4e60\u5982\u4f55\u5220\u9664github\u4e2d\u7684gist\u3002<\/p>\n<ol>\n<li>\u767b\u5f55GitHub\u8d26\u6237<\/li>\n<\/ol>\n<p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u767b\u5f55\u5230\u4f60\u7684GitHub\u8d26\u6237\u3002\u8981\u5220\u9664Gist\uff0c\u4f60\u5fc5\u987b\u767b\u5f55\u5230GitHub\u3002<\/p>\n<ol>\n<li>\u627e\u5230\u8981\u5220\u9664\u7684Gist<\/li>\n<\/ol>\n<p>\u5728\u767b\u5f55\u4e4b\u540e\uff0c\u5728GitHub\u4e3b\u9875\u4e0a\u65b9\u7684\u641c\u7d22\u680f\u4e2d\u8f93\u5165&#8221;Gists&#8221;\uff0c\u7136\u540e\u6309\u56de\u8f66\u952e\u3002\u4f60\u5c06\u4f1a\u770b\u5230\u81ea\u5df1\u7684Gist\u5217\u8868\uff0c\u73b0\u5728\u9009\u62e9\u4f60\u8981\u5220\u9664\u7684Gist\u3002\u6253\u5f00\u5b83\uff0c\u67e5\u770b\u4ee3\u7801\u5e76\u68c0\u67e5\u662f\u5426\u771f\u7684\u53ef\u4ee5\u5220\u9664\u5b83\u3002<\/p>\n<ol>\n<li>\u5220\u9664Gist<\/li>\n<\/ol>\n<p>\u4e00\u65e6\u4f60\u51b3\u5b9a\u5220\u9664Gist\uff0c\u4f60\u9700\u8981\u5728\u9875\u9762\u53f3\u4e0a\u89d2\u627e\u5230 &#8220;Delete&#8221; \u6309\u94ae\u3002\u70b9\u51fb\u540e\u5f39\u51fa\u4e00\u4e2a\u786e\u8ba4\u6d88\u606f\uff1a &#8220;Are you sure you want to delete this gist?&#8221; \uff0c\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u786e\u8ba4\u662f\u5426\u8981\u5220\u9664\u5b83\u3002\u5982\u679c\u4f60\u9009\u62e9\u662f\uff0cGist\u5c06\u88ab\u6c38\u4e45\u5220\u9664\u3002<\/p>\n<ol>\n<li>\u786e\u8ba4Gist\u5df2\u88ab\u5220\u9664<\/li>\n<\/ol>\n<p>\u9a8c\u8bc1\u662f\u5426\u5df2\u5220\u9664Gist\u3002\u5237\u65b0\u9875\u9762\u5e76\u786e\u4fdd\u8be5Gist\u5df2\u4ece\u5217\u8868\u4e2d\u6d88\u5931\uff0c\u5e76\u4e14\u65e0\u6cd5\u5728\u641c\u7d22\u7ed3\u679c\u4e2d\u627e\u5230\u5b83\u3002<\/p>\n<p>\u6ce8\u610f\u4e8b\u9879\uff1a<\/p>\n<p>\u5728\u5220\u9664Gist\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u4f60\u4e0d\u518d\u9700\u8981\u5b83\uff0c\u5e76\u4e14\u4f60\u5df2\u7ecf\u505a\u597d\u4e86\u5907\u4efd\u3002\u5220\u9664\u540e\uff0c\u4f60\u5c06\u65e0\u6cd5\u6062\u590d\u8be5Gist\u4e2d\u7684\u4efb\u4f55\u6570\u636e\u3002<\/p>\n<p>\u7ed3\u8bba\uff1a<\/p>\n<p>\u5220\u9664GitHub\u4e2d\u7684Gist\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u6309\u7167\u4e0a\u8ff0\u6b65\u9aa4\u64cd\u4f5c\u5373\u53ef\u5b8c\u6210\u3002\u5728\u786e\u8ba4\u5220\u9664\u524d\uff0c\u8bf7\u786e\u4fdd\u4f60\u5df2\u7ecf\u505a\u597d\u4e86\u5907\u4efd\u5e76\u4e0d\u518d\u9700\u8981\u8be5Gist\u4e2d\u7684\u4efb\u4f55\u6570\u636e\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fgithub\u600e\u4e48\u5220\u9664gist\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\u4e00\u4e2a\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u5f00\u6e90\u4ed3\u5e93\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u521b\u5efa\u81ea\u5df1\u7684\u4ee3\u7801\u7247\u6bb5\u5e76\u4e0e\u5176\u4ed6\u5f00\u53d1\u4eba\u5458\u5171\u4eab\u3002\u4e00\u79cd\u521b\u5efa\u4ee3\u7801\u7247\u6bb5\u7684\u65b9\u5f0f\u662f\u4f7f\u7528gist\u3002gist\u662f\u4e00\u4e2a\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u8f7b\u677e\u7ba1\u7406\u548c\u5206\u4eab\u4ee3\u7801\u7247\u6bb5\u7684github\u7684web\u5e94\u7528\u7a0b\u5e8f\u3002\u4f46\u662f\uff0c\u6709\u53ef\u80fd\u4e0d\u9700\u8981\u4e00\u4e9b\u65e7\u7684\u548c\u4e0d\u518d\u9700\u8981\u7684\u7247\u6bb5\uff0c\u6240\u4ee5\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u5b66\u4e60\u5982\u4f55\u5220\u9664github\u4e2d\u7684gist\u3002 \u767b\u5f55GitHub\u8d26\u6237 \u9996\u5148\uff0c\u4f60\u9700\u8981\u767b\u5f55\u5230\u4f60\u7684GitHub\u8d26\u6237\u3002\u8981\u5220\u9664Gist\uff0c\u4f60\u5fc5\u987b\u767b\u5f55\u5230GitHub\u3002 \u627e\u5230\u8981\u5220\u9664\u7684Gist \u5728\u767b\u5f55\u4e4b\u540e\uff0c\u5728GitHub\u4e3b\u9875\u4e0a\u65b9\u7684\u641c\u7d22\u680f\u4e2d\u8f93\u5165&#8221;Gists&#8221;\uff0c\u7136\u540e\u6309\u56de\u8f66\u952e\u3002\u4f60\u5c06\u4f1a\u770b\u5230\u81ea\u5df1\u7684Gist\u5217\u8868\uff0c\u73b0\u5728\u9009\u62e9\u4f60\u8981\u5220\u9664\u7684Gist\u3002\u6253\u5f00\u5b83\uff0c\u67e5\u770b\u4ee3\u7801\u5e76\u68c0\u67e5\u662f\u5426\u771f\u7684\u53ef\u4ee5\u5220\u9664\u5b83\u3002 \u5220\u9664Gist \u4e00\u65e6\u4f60\u51b3\u5b9a\u5220\u9664Gist\uff0c\u4f60\u9700\u8981\u5728\u9875\u9762\u53f3\u4e0a\u89d2\u627e\u5230 &#8220;Delete&#8221; \u6309\u94ae\u3002\u70b9\u51fb\u540e\u5f39\u51fa\u4e00\u4e2a\u786e\u8ba4\u6d88\u606f\uff1a &#8220;Are you sure you want to delete this gist?&#8221; \uff0c\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u786e\u8ba4\u662f\u5426\u8981\u5220\u9664\u5b83\u3002\u5982\u679c\u4f60\u9009\u62e9\u662f\uff0cGist\u5c06\u88ab\u6c38\u4e45\u5220\u9664\u3002 \u786e\u8ba4Gist\u5df2\u88ab\u5220\u9664 \u9a8c\u8bc1\u662f\u5426\u5df2\u5220\u9664Gist\u3002\u5237\u65b0\u9875\u9762\u5e76\u786e\u4fdd\u8be5Gist\u5df2\u4ece\u5217\u8868\u4e2d\u6d88\u5931\uff0c\u5e76\u4e14\u65e0\u6cd5\u5728\u641c\u7d22\u7ed3\u679c\u4e2d\u627e\u5230\u5b83\u3002 \u6ce8\u610f\u4e8b\u9879\uff1a \u5728\u5220\u9664Gist\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u4f60\u4e0d\u518d\u9700\u8981\u5b83\uff0c\u5e76\u4e14\u4f60\u5df2\u7ecf\u505a\u597d\u4e86\u5907\u4efd\u3002\u5220\u9664\u540e\uff0c\u4f60\u5c06\u65e0\u6cd5\u6062\u590d\u8be5Gist\u4e2d\u7684\u4efb\u4f55\u6570\u636e\u3002 \u7ed3\u8bba\uff1a \u5220\u9664GitHub\u4e2d\u7684Gist\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u6309\u7167\u4e0a\u8ff0\u6b65\u9aa4\u64cd\u4f5c\u5373\u53ef\u5b8c\u6210\u3002\u5728\u786e\u8ba4\u5220\u9664\u524d\uff0c\u8bf7\u786e\u4fdd\u4f60\u5df2\u7ecf\u505a\u597d\u4e86\u5907\u4efd\u5e76\u4e0d\u518d\u9700\u8981\u8be5Gist\u4e2d\u7684\u4efb\u4f55\u6570\u636e\u3002 \u4ee5\u4e0a\u5c31\u662fgithub\u600e\u4e48\u5220\u9664gist\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-20057","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20057","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=20057"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20057\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}