{"id":19398,"date":"2024-11-19T14:56:24","date_gmt":"2024-11-19T06:56:24","guid":{"rendered":"https:\/\/fwq.ai\/blog\/19398\/"},"modified":"2024-11-19T14:56:24","modified_gmt":"2024-11-19T06:56:24","slug":"%e6%80%8e%e4%b9%88%e5%9c%a8github%e4%b8%8a%e5%88%a0%e9%99%a4%e9%a1%b9%e7%9b%ae","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/19398\/","title":{"rendered":"\u600e\u4e48\u5728github\u4e0a\u5220\u9664\u9879\u76ee"},"content":{"rendered":"<p>\u5728github\u4e0a\uff0c\u4e00\u4e2a\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u591a\u4e2a\u4ed3\u5e93\uff08repository\uff09\u6765\u5b58\u50a8\u4ee3\u7801\u3001\u6587\u6863\u4ee5\u53ca\u5176\u4ed6\u6587\u4ef6\u3002\u4e0d\u8fc7\uff0c\u5728\u4e00\u4e9b\u60c5\u51b5\u4e0b\u7528\u6237\u4e5f\u53ef\u80fd\u9700\u8981\u5220\u9664\u5df2\u7ecf\u521b\u5efa\u7684\u9879\u76ee\uff0c\u672c\u6587\u5c06\u4ecb\u7ecd\u5728github\u4e0a\u5982\u4f55\u5220\u9664\u4e00\u4e2a\u9879\u76ee\u3002<\/p>\n<p>\u9996\u5148\uff0c\u767b\u5f55\u4f60\u7684GitHub\u8d26\u53f7\u5e76\u8fdb\u5165\u60f3\u8981\u5220\u9664\u7684\u9879\u76ee\u3002\u5728\u9879\u76ee\u4e3b\u9875\u4e0a\u627e\u5230\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u201cSettings\u201d\uff08\u8bbe\u7f6e\uff09\u6309\u94ae\uff0c\u70b9\u51fb\u8fdb\u5165\u9879\u76ee\u7684\u8bbe\u7f6e\u9875\u9762\u3002\u5728\u8bbe\u7f6e\u9875\u9762\u7684\u6700\u4e0b\u65b9\uff0c\u627e\u5230\u201cDanger Zone\u201d\uff08\u5371\u9669\u533a\u57df\uff09\u90e8\u5206\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u201cDelete this repository\u201d\uff08\u5220\u9664\u8be5\u4ed3\u5e93\uff09\u6309\u94ae\u3002<\/p>\n<p>\u70b9\u51fb\u201cDelete this repository\u201d\u6309\u94ae\u540e\uff0cGitHub\u4f1a\u8be2\u95ee\u4f60\u662f\u5426\u786e\u5b9a\u5220\u9664\u8be5\u9879\u76ee\u3002\u5982\u679c\u786e\u5b9a\u5220\u9664\uff0c\u4f60\u9700\u8981\u518d\u6b21\u8f93\u5165\u9879\u76ee\u7684\u540d\u79f0\u4f5c\u4e3a\u786e\u8ba4\uff0c\u7136\u540e\u70b9\u51fb\u201cI understand the consequences, delete this repository\u201d\uff08\u6211\u660e\u767d\u540e\u679c\uff0c\u5220\u9664\u8be5\u4ed3\u5e93\uff09\u6309\u94ae\u5373\u53ef\u3002<\/p>\n<p>\u6ce8\u610f\uff1a\u5220\u9664\u4ed3\u5e93\u5c06\u65e0\u6cd5\u64a4\u9500\uff0c\u800c\u4e14\u5220\u9664\u8be5\u4ed3\u5e93\u5c06\u540c\u65f6\u5220\u9664\u6240\u6709\u5206\u652f\uff08Branches\uff09\u3001\u62c9\u53d6\u8bf7\u6c42\uff08Pull Requests\uff09\u3001\u95ee\u9898\uff08Issues\uff09\u548c\u7ef4\u57fa\uff08Wiki\uff09\u7b49\u76f8\u5173\u5185\u5bb9\u3002<\/p>\n<p>\u5982\u679c\u4f60\u662f\u8be5\u4ed3\u5e93\u7684\u62e5\u6709\u8005\uff08Owner\uff09\uff0c\u4f60\u9700\u8981\u5148\u5c06\u62e5\u6709\u8005\u6743\u9650\u8f6c\u4ea4\u7ed9\u5176\u4ed6\u7528\u6237\uff0c\u5426\u5219\u8be5\u4ed3\u5e93\u5c06\u65e0\u6cd5\u88ab\u5220\u9664\u3002<\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u5982\u679c\u4f60\u60f3\u8981\u5220\u9664\u7684\u4ec5\u4ec5\u662f\u4ed3\u5e93\u4e2d\u7684\u67d0\u4e2a\u6587\u4ef6\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u4ed3\u5e93\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8fdb\u5165\u5230\u8be5\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u540e\uff0c\u70b9\u51fb\u8be5\u6587\u4ef6\u540d\u8fdb\u5165\u6587\u4ef6\u9884\u89c8\u9875\u9762\u3002\u5728\u9884\u89c8\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u83dc\u5355\u6309\u94ae\u4e2d\u9009\u62e9\u201cDelete file\u201d\uff08\u5220\u9664\u6587\u4ef6\uff09\u9009\u9879\uff0c\u8f93\u5165\u5220\u9664\u8be5\u6587\u4ef6\u7684\u539f\u56e0\u5e76\u63d0\u4ea4\u5373\u53ef\u5220\u9664\u8be5\u6587\u4ef6\u3002<\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7Git\u5ba2\u6237\u7aef\uff08\u5982GitBash\uff09\u7684\u547d\u4ee4\u884c\u5de5\u5177\u5b8c\u6210\u4ed3\u5e93\u7684\u5220\u9664\u3002\u5177\u4f53\u547d\u4ee4\u4e3a\uff1a<\/p>\n<pre>git remote rm origin<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u547d\u4ee4\u5c06\u628a\u4f60\u7684\u672c\u5730Git\u4ed3\u5e93\u4e0eGitHub\u4ed3\u5e93\u65ad\u5f00\u8054\u7cfb\uff0c\u4f46\u4e0d\u4f1a\u5220\u9664\u8be5\u4ed3\u5e93\u3002\u5982\u679c\u60f3\u8981\u5220\u9664\u8be5\u4ed3\u5e93\uff0c\u8fd8\u9700\u8981\u5728GitHub\u4e0a\u8fdb\u884c\u5220\u9664\u64cd\u4f5c\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u60c5\u51b5\uff0c\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7684\u65b9\u6cd5\u8fdb\u884cGitHub\u4e0a\u9879\u76ee\u7684\u5220\u9664\u3002\u4f46\u5728\u5220\u9664\u4e4b\u524d\uff0c\u8981\u4ed4\u7ec6\u8003\u8651\u6f5c\u5728\u7684\u5f71\u54cd\u548c\u540e\u679c\uff0c\u4ee5\u514d\u9020\u6210\u4e0d\u5fc5\u8981\u7684\u9ebb\u70e6\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u5728github\u4e0a\u5220\u9664\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>\u5728github\u4e0a\uff0c\u4e00\u4e2a\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u591a\u4e2a\u4ed3\u5e93\uff08repository\uff09\u6765\u5b58\u50a8\u4ee3\u7801\u3001\u6587\u6863\u4ee5\u53ca\u5176\u4ed6\u6587\u4ef6\u3002\u4e0d\u8fc7\uff0c\u5728\u4e00\u4e9b\u60c5\u51b5\u4e0b\u7528\u6237\u4e5f\u53ef\u80fd\u9700\u8981\u5220\u9664\u5df2\u7ecf\u521b\u5efa\u7684\u9879\u76ee\uff0c\u672c\u6587\u5c06\u4ecb\u7ecd\u5728github\u4e0a\u5982\u4f55\u5220\u9664\u4e00\u4e2a\u9879\u76ee\u3002 \u9996\u5148\uff0c\u767b\u5f55\u4f60\u7684GitHub\u8d26\u53f7\u5e76\u8fdb\u5165\u60f3\u8981\u5220\u9664\u7684\u9879\u76ee\u3002\u5728\u9879\u76ee\u4e3b\u9875\u4e0a\u627e\u5230\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u201cSettings\u201d\uff08\u8bbe\u7f6e\uff09\u6309\u94ae\uff0c\u70b9\u51fb\u8fdb\u5165\u9879\u76ee\u7684\u8bbe\u7f6e\u9875\u9762\u3002\u5728\u8bbe\u7f6e\u9875\u9762\u7684\u6700\u4e0b\u65b9\uff0c\u627e\u5230\u201cDanger Zone\u201d\uff08\u5371\u9669\u533a\u57df\uff09\u90e8\u5206\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u201cDelete this repository\u201d\uff08\u5220\u9664\u8be5\u4ed3\u5e93\uff09\u6309\u94ae\u3002 \u70b9\u51fb\u201cDelete this repository\u201d\u6309\u94ae\u540e\uff0cGitHub\u4f1a\u8be2\u95ee\u4f60\u662f\u5426\u786e\u5b9a\u5220\u9664\u8be5\u9879\u76ee\u3002\u5982\u679c\u786e\u5b9a\u5220\u9664\uff0c\u4f60\u9700\u8981\u518d\u6b21\u8f93\u5165\u9879\u76ee\u7684\u540d\u79f0\u4f5c\u4e3a\u786e\u8ba4\uff0c\u7136\u540e\u70b9\u51fb\u201cI understand the consequences, delete this repository\u201d\uff08\u6211\u660e\u767d\u540e\u679c\uff0c\u5220\u9664\u8be5\u4ed3\u5e93\uff09\u6309\u94ae\u5373\u53ef\u3002 \u6ce8\u610f\uff1a\u5220\u9664\u4ed3\u5e93\u5c06\u65e0\u6cd5\u64a4\u9500\uff0c\u800c\u4e14\u5220\u9664\u8be5\u4ed3\u5e93\u5c06\u540c\u65f6\u5220\u9664\u6240\u6709\u5206\u652f\uff08Branches\uff09\u3001\u62c9\u53d6\u8bf7\u6c42\uff08Pull Requests\uff09\u3001\u95ee\u9898\uff08Issues\uff09\u548c\u7ef4\u57fa\uff08Wiki\uff09\u7b49\u76f8\u5173\u5185\u5bb9\u3002 \u5982\u679c\u4f60\u662f\u8be5\u4ed3\u5e93\u7684\u62e5\u6709\u8005\uff08Owner\uff09\uff0c\u4f60\u9700\u8981\u5148\u5c06\u62e5\u6709\u8005\u6743\u9650\u8f6c\u4ea4\u7ed9\u5176\u4ed6\u7528\u6237\uff0c\u5426\u5219\u8be5\u4ed3\u5e93\u5c06\u65e0\u6cd5\u88ab\u5220\u9664\u3002 \u9664\u6b64\u4e4b\u5916\uff0c\u5982\u679c\u4f60\u60f3\u8981\u5220\u9664\u7684\u4ec5\u4ec5\u662f\u4ed3\u5e93\u4e2d\u7684\u67d0\u4e2a\u6587\u4ef6\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u4ed3\u5e93\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u3002 \u9996\u5148\uff0c\u8fdb\u5165\u5230\u8be5\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u540e\uff0c\u70b9\u51fb\u8be5\u6587\u4ef6\u540d\u8fdb\u5165\u6587\u4ef6\u9884\u89c8\u9875\u9762\u3002\u5728\u9884\u89c8\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u83dc\u5355\u6309\u94ae\u4e2d\u9009\u62e9\u201cDelete file\u201d\uff08\u5220\u9664\u6587\u4ef6\uff09\u9009\u9879\uff0c\u8f93\u5165\u5220\u9664\u8be5\u6587\u4ef6\u7684\u539f\u56e0\u5e76\u63d0\u4ea4\u5373\u53ef\u5220\u9664\u8be5\u6587\u4ef6\u3002 \u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7Git\u5ba2\u6237\u7aef\uff08\u5982GitBash\uff09\u7684\u547d\u4ee4\u884c\u5de5\u5177\u5b8c\u6210\u4ed3\u5e93\u7684\u5220\u9664\u3002\u5177\u4f53\u547d\u4ee4\u4e3a\uff1a git remote rm origin \u767b\u5f55\u540e\u590d\u5236 \u4ee5\u4e0a\u547d\u4ee4\u5c06\u628a\u4f60\u7684\u672c\u5730Git\u4ed3\u5e93\u4e0eGitHub\u4ed3\u5e93\u65ad\u5f00\u8054\u7cfb\uff0c\u4f46\u4e0d\u4f1a\u5220\u9664\u8be5\u4ed3\u5e93\u3002\u5982\u679c\u60f3\u8981\u5220\u9664\u8be5\u4ed3\u5e93\uff0c\u8fd8\u9700\u8981\u5728GitHub\u4e0a\u8fdb\u884c\u5220\u9664\u64cd\u4f5c\u3002 \u603b\u4e4b\uff0c\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u60c5\u51b5\uff0c\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7684\u65b9\u6cd5\u8fdb\u884cGitHub\u4e0a\u9879\u76ee\u7684\u5220\u9664\u3002\u4f46\u5728\u5220\u9664\u4e4b\u524d\uff0c\u8981\u4ed4\u7ec6\u8003\u8651\u6f5c\u5728\u7684\u5f71\u54cd\u548c\u540e\u679c\uff0c\u4ee5\u514d\u9020\u6210\u4e0d\u5fc5\u8981\u7684\u9ebb\u70e6\u3002 \u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u5728github\u4e0a\u5220\u9664\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},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-19398","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/19398","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=19398"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/19398\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=19398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=19398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=19398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}