{"id":18865,"date":"2024-11-19T17:15:32","date_gmt":"2024-11-19T09:15:32","guid":{"rendered":"https:\/\/fwq.ai\/blog\/18865\/"},"modified":"2024-11-19T17:15:32","modified_gmt":"2024-11-19T09:15:32","slug":"%e6%80%8e%e4%b9%88%e5%88%a0%e9%99%a4github%e4%b8%8a%e7%9a%84%e9%a1%b9%e7%9b%ae","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/18865\/","title":{"rendered":"\u600e\u4e48\u5220\u9664github\u4e0a\u7684\u9879\u76ee"},"content":{"rendered":"<p>\u4e00\u3001\u4ec0\u4e48\u662fgithub\uff1f<\/p>\n<p>GitHub\uff0c\u5168\u540dGitHub Inc.\uff0c\u662f\u4e00\u4e2a\u7f8e\u56fd\u516c\u53f8\uff0c\u63d0\u4f9b\u4ee3\u7801\u4ed3\u5e93\u6258\u7ba1\u670d\u52a1\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u4e92\u8054\u7f51\u4e0a\u5b58\u50a8\u548c\u5171\u4eab\u4ee3\u7801\uff0c\u5e76\u901a\u8fc7Git\u8fdb\u884c\u7248\u672c\u63a7\u5236\u3002GitHub\u662f\u5168\u7403\u6700\u5927\u7684\u534f\u4f5c\u5f00\u53d1\u793e\u533a\uff0c\u5305\u542b\u4e86\u6570\u767e\u4e07\u4e2a\u5f00\u6e90\u9879\u76ee\u3002<\/p>\n<p>\u4e8c\u3001\u5982\u4f55\u5220\u9664GitHub\u4e0a\u7684\u9879\u76ee\uff1f<\/p>\n<p>GitHub\u4e0a\u7684\u9879\u76ee\u662f\u7531\u5f00\u53d1\u8005\u521b\u5efa\u5e76\u7ba1\u7406\u7684\uff0c\u53ef\u4ee5\u968f\u65f6\u5220\u9664\u3002\u4e0b\u9762\u4ecb\u7ecd\u4e24\u79cd\u65b9\u6cd5\u3002<\/p>\n<p>\u65b9\u6cd5\u4e00\uff1a\u901a\u8fc7\u7f51\u9875\u7aef\u5220\u9664<\/p>\n<ol>\n<li>\u6253\u5f00GitHub\u5b98\u7f51\u5e76\u767b\u5f55\u8d26\u53f7\u3002<\/li>\n<li>\u8fdb\u5165\u9700\u8981\u5220\u9664\u7684\u9879\u76ee\u9875\u9762\u3002<\/li>\n<li>\u70b9\u51fb\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u201cSettings\u201d\u6309\u94ae\u3002<\/li>\n<li>\u6eda\u52a8\u9875\u9762\u5230\u5e95\u90e8\uff0c\u627e\u5230\u201cDanger Zone\u201d\u533a\u57df\u3002<\/li>\n<li>\u70b9\u51fb\u201cDelete this repository\u201d\u6309\u94ae\u3002<\/li>\n<li>\u8f93\u5165\u4f60\u7684GitHub\u7528\u6237\u540d\u548c\u9879\u76ee\u540d\u79f0\uff0c\u7136\u540e\u70b9\u51fb\u201cI understand the consequences, delete this repository\u201d\u6309\u94ae\u3002<\/li>\n<li>\u9879\u76ee\u5c06\u88ab\u5220\u9664\u3002<\/li>\n<\/ol>\n<p>\u65b9\u6cd5\u4e8c\uff1a\u901a\u8fc7Git\u547d\u4ee4\u884c\u5220\u9664<\/p>\n<ol>\n<li>\u5b89\u88c5Git\uff0c\u5e76\u4f7f\u7528Git\u547d\u4ee4\u884c\u5de5\u5177\u8fdb\u5165\u9700\u8981\u5220\u9664\u7684\u9879\u76ee\u6240\u5728\u7684\u672c\u5730\u76ee\u5f55\u3002<\/li>\n<li>\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/li>\n<\/ol>\n<pre>git remote rm origin<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u5c06\u5220\u9664\u8be5\u9879\u76ee\u4e0e\u8fdc\u7a0b\u4ed3\u5e93\u4e4b\u95f4\u7684\u8fde\u63a5\u3002<\/p>\n<ol>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff08\u6ce8\uff1a\u6b64\u64cd\u4f5c\u4f1a\u5220\u9664\u6574\u4e2a\u672c\u5730\u9879\u76ee\uff09\uff1a<\/li>\n<\/ol>\n<pre>rm -rf .git<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u5c06\u5220\u9664\u672c\u5730\u9879\u76ee\u7684Git\u4ed3\u5e93\u3002<\/p>\n<ol>\n<li>\u5728GitHub\u5b98\u7f51\u4e0a\u767b\u5f55\u8d26\u53f7\u3002<\/li>\n<li>\u8fdb\u5165\u9700\u8981\u5220\u9664\u7684\u9879\u76ee\u9875\u9762\u3002<\/li>\n<li>\u70b9\u51fb\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u201cSettings\u201d\u6309\u94ae\u3002<\/li>\n<li>\u6eda\u52a8\u9875\u9762\u5230\u5e95\u90e8\uff0c\u627e\u5230\u201cDanger Zone\u201d\u533a\u57df\u3002<\/li>\n<li>\u70b9\u51fb\u201cDelete this repository\u201d\u6309\u94ae\u3002<\/li>\n<li>\u8f93\u5165\u4f60\u7684GitHub\u7528\u6237\u540d\u548c\u9879\u76ee\u540d\u79f0\uff0c\u7136\u540e\u70b9\u51fb\u201cI understand the consequences, delete this repository\u201d\u6309\u94ae\u3002<\/li>\n<li>\u9879\u76ee\u5c06\u88ab\u5220\u9664\u3002<\/li>\n<\/ol>\n<p>\u4e09\u3001\u6ce8\u610f\u4e8b\u9879<\/p>\n<ol>\n<li>\u5220\u9664\u9879\u76ee\u662f\u4e00\u4e2a\u4e0d\u53ef\u9006\u7684\u64cd\u4f5c\uff0c\u8bf7\u614e\u91cd\u8003\u8651\u3002<\/li>\n<li>\u5982\u679c\u4e00\u4e2a\u9879\u76ee\u5df2\u7ecf\u88ab\u5176\u4ed6\u4ebafork\u4e86\uff0c\u5220\u9664\u8be5\u9879\u76ee\u5c06\u4e0d\u4f1a\u5f71\u54cd\u4ed6\u4eec\u6240fork\u7684\u9879\u76ee\u3002<\/li>\n<li>\u5982\u679c\u4f60\u8981\u5220\u9664\u7684\u662f\u4f60\u81ea\u5df1\u7684\u9879\u76ee\uff0c\u5efa\u8bae\u5148\u5907\u4efd\u4e00\u4e0b\uff0c\u4ee5\u9632\u8bef\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u5220\u9664github\u4e0a\u7684\u9879\u76ee\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>\u4e00\u3001\u4ec0\u4e48\u662fgithub\uff1f GitHub\uff0c\u5168\u540dGitHub Inc.\uff0c\u662f\u4e00\u4e2a\u7f8e\u56fd\u516c\u53f8\uff0c\u63d0\u4f9b\u4ee3\u7801\u4ed3\u5e93\u6258\u7ba1\u670d\u52a1\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u4e92\u8054\u7f51\u4e0a\u5b58\u50a8\u548c\u5171\u4eab\u4ee3\u7801\uff0c\u5e76\u901a\u8fc7Git\u8fdb\u884c\u7248\u672c\u63a7\u5236\u3002GitHub\u662f\u5168\u7403\u6700\u5927\u7684\u534f\u4f5c\u5f00\u53d1\u793e\u533a\uff0c\u5305\u542b\u4e86\u6570\u767e\u4e07\u4e2a\u5f00\u6e90\u9879\u76ee\u3002 \u4e8c\u3001\u5982\u4f55\u5220\u9664GitHub\u4e0a\u7684\u9879\u76ee\uff1f GitHub\u4e0a\u7684\u9879\u76ee\u662f\u7531\u5f00\u53d1\u8005\u521b\u5efa\u5e76\u7ba1\u7406\u7684\uff0c\u53ef\u4ee5\u968f\u65f6\u5220\u9664\u3002\u4e0b\u9762\u4ecb\u7ecd\u4e24\u79cd\u65b9\u6cd5\u3002 \u65b9\u6cd5\u4e00\uff1a\u901a\u8fc7\u7f51\u9875\u7aef\u5220\u9664 \u6253\u5f00GitHub\u5b98\u7f51\u5e76\u767b\u5f55\u8d26\u53f7\u3002 \u8fdb\u5165\u9700\u8981\u5220\u9664\u7684\u9879\u76ee\u9875\u9762\u3002 \u70b9\u51fb\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u201cSettings\u201d\u6309\u94ae\u3002 \u6eda\u52a8\u9875\u9762\u5230\u5e95\u90e8\uff0c\u627e\u5230\u201cDanger Zone\u201d\u533a\u57df\u3002 \u70b9\u51fb\u201cDelete this repository\u201d\u6309\u94ae\u3002 \u8f93\u5165\u4f60\u7684GitHub\u7528\u6237\u540d\u548c\u9879\u76ee\u540d\u79f0\uff0c\u7136\u540e\u70b9\u51fb\u201cI understand the consequences, delete this repository\u201d\u6309\u94ae\u3002 \u9879\u76ee\u5c06\u88ab\u5220\u9664\u3002 \u65b9\u6cd5\u4e8c\uff1a\u901a\u8fc7Git\u547d\u4ee4\u884c\u5220\u9664 \u5b89\u88c5Git\uff0c\u5e76\u4f7f\u7528Git\u547d\u4ee4\u884c\u5de5\u5177\u8fdb\u5165\u9700\u8981\u5220\u9664\u7684\u9879\u76ee\u6240\u5728\u7684\u672c\u5730\u76ee\u5f55\u3002 \u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a git remote rm origin \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u4e2a\u547d\u4ee4\u5c06\u5220\u9664\u8be5\u9879\u76ee\u4e0e\u8fdc\u7a0b\u4ed3\u5e93\u4e4b\u95f4\u7684\u8fde\u63a5\u3002 \u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff08\u6ce8\uff1a\u6b64\u64cd\u4f5c\u4f1a\u5220\u9664\u6574\u4e2a\u672c\u5730\u9879\u76ee\uff09\uff1a rm -rf .git \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u4e2a\u547d\u4ee4\u5c06\u5220\u9664\u672c\u5730\u9879\u76ee\u7684Git\u4ed3\u5e93\u3002 \u5728GitHub\u5b98\u7f51\u4e0a\u767b\u5f55\u8d26\u53f7\u3002 \u8fdb\u5165\u9700\u8981\u5220\u9664\u7684\u9879\u76ee\u9875\u9762\u3002 \u70b9\u51fb\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u201cSettings\u201d\u6309\u94ae\u3002 \u6eda\u52a8\u9875\u9762\u5230\u5e95\u90e8\uff0c\u627e\u5230\u201cDanger Zone\u201d\u533a\u57df\u3002 \u70b9\u51fb\u201cDelete this repository\u201d\u6309\u94ae\u3002 \u8f93\u5165\u4f60\u7684GitHub\u7528\u6237\u540d\u548c\u9879\u76ee\u540d\u79f0\uff0c\u7136\u540e\u70b9\u51fb\u201cI understand the consequences, delete this repository\u201d\u6309\u94ae\u3002 \u9879\u76ee\u5c06\u88ab\u5220\u9664\u3002 \u4e09\u3001\u6ce8\u610f\u4e8b\u9879 \u5220\u9664\u9879\u76ee\u662f\u4e00\u4e2a\u4e0d\u53ef\u9006\u7684\u64cd\u4f5c\uff0c\u8bf7\u614e\u91cd\u8003\u8651\u3002 [&hellip;]<\/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-18865","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18865","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=18865"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18865\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=18865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=18865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=18865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}