{"id":18709,"date":"2024-11-19T10:46:08","date_gmt":"2024-11-19T02:46:08","guid":{"rendered":"https:\/\/fwq.ai\/blog\/18709\/"},"modified":"2024-11-19T10:46:08","modified_gmt":"2024-11-19T02:46:08","slug":"%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%ae%e9%87%8d%e8%a6%81%e7%9a%84-git-%e9%85%8d%e7%bd%ae%e5%85%a8%e5%b1%80%e5%b1%9e%e6%80%a7","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/18709\/","title":{"rendered":"\u5982\u4f55\u8bbe\u7f6e\u91cd\u8981\u7684 Git \u914d\u7f6e\u5168\u5c40\u5c5e\u6027"},"content":{"rendered":"<blockquote><p>\n  \u81ea\u5b9a\u4e49\u5f00\u53d1\u73af\u5883\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c\u4f46\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u662f\u6700\u6709\u53ef\u80fd\u7528\u4e8e\u81ea\u5b9a\u4e49\u8bbe\u7f6e\uff08\u4f8b\u5982\u7528\u6237\u540d\u3001\u7535\u5b50\u90ae\u4ef6\u3001\u9996\u9009\u6587\u672c\u7f16\u8f91\u5668\u548c\u8fdc\u7a0b\u5206\u652f\uff09\u7684\u4e00\u79cd\u3002\u4ee5\u4e0b\u662f\u60a8\u9700\u8981\u4e86\u89e3\u7684\u6709\u5173\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u7684\u5173\u952e\u4e8b\u9879\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/080\/66fa1cb2ebf23473.png\" class=\"aligncenter\" title=\"\u5982\u4f55\u8bbe\u7f6e\u91cd\u8981\u7684 Git \u914d\u7f6e\u5168\u5c40\u5c5e\u6027\u63d2\u56fe\" alt=\"\u5982\u4f55\u8bbe\u7f6e\u91cd\u8981\u7684 Git \u914d\u7f6e\u5168\u5c40\u5c5e\u6027\u63d2\u56fe\" \/><\/p>\n<h3>\u5168\u5c40  \u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e\u54ea\u91cc\uff1f<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">\u5168\u5c40 Git \u914d\u7f6e\u6587\u4ef6\u5b58\u50a8\u5728\u4e00\u4e2a\u540d\u4e3a . gitconfig \u7528\u6237\u7684\u4e3b\u76ee\u5f55\u3002\u6839\u636e\u7684\u4e0d\u540c\uff0c\u8fd9\u5c06\u662f\uff1a<\/p>\n<ul>\n<li>C:UsersWindows \u4e0a<\/li>\n<li>~home\/Linux \u4e0a<\/li>\n<li>~root\/ \u7528\u4e8e sudo \u64cd\u4f5c<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px;font-family:\">\u9700\u8981\u6ce8\u610f\u7684\u4e00\u70b9\u662f\u6bcf\u4e2a\u7528\u6237\u90fd\u6709\u81ea\u5df1\u7684\u5168\u5c40 Git \u914d\u7f6e\u6587\u4ef6\u3002\u5982\u679c\u60a8\u4f7f\u7528 sudo \u547d\u4ee4\u8fd0\u884c shell \u811a\u672c\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u95ee\u9898\u3002\u5982\u679c\u5728\u811a\u672c\u4e2d\u4f7f\u7528 sudo\uff0c\u5219\u5c06\u4f7f\u7528 ~root\/.gitconfig \u6587\u4ef6\uff0c\u800c\u4e0d\u662f\u8fd0\u884c\u811a\u672c\u7684\u7528\u6237\u7684\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u3002\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u610f\u5916\u7ed3\u679c\uff0c\u56e0\u6b64\u8bf7\u8c28\u614e\u4f7f\u7528 sudo \u547d\u4ee4\u3002<\/p>\n<h3><\/h3>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/242\/473\/172766754138369.gif\" style=\"border: 0px;max-width: 600px;font-size: 8px\" title=\"\u5982\u4f55\u8bbe\u7f6e\u91cd\u8981\u7684 Git \u914d\u7f6e\u5168\u5c40\u5c5e\u6027\u63d2\u56fe1\" alt=\"\u5982\u4f55\u8bbe\u7f6e\u91cd\u8981\u7684 Git \u914d\u7f6e\u5168\u5c40\u5c5e\u6027\u63d2\u56fe1\" \/> <\/p>\n<p style=\"margin: 1em 0px\">git config \u2013list \u547d\u4ee4\u5c06\u663e\u793a\u5168\u5c40 git \u914d\u7f6e\u8bbe\u7f6e\u3002<\/p>\n<h3>Git \u914d\u7f6e\u5168\u5c40\u7528\u6237\u540d\u548c\u7535\u5b50\u90ae\u4ef6<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">\u5728\u53d1\u51fa\u672c\u5730 Git \u63d0\u4ea4\u4e4b\u524d\uff0c\u5fc5\u987b\u8bbe\u7f6e\u5168\u5c40 git \u914d\u7f6e\u7528\u6237\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5c5e\u6027\u3002\u522b\u62c5\u5fc3\uff0c\u60a8\u7684\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u4e0d\u4f1a\u51fa\u73b0\u5728\u90ae\u4ef6\u5217\u8868\u4e2d\u3002\u8fd9\u4e9b\u8be6\u7ec6\u4fe1\u606f\u4ec5\u7528\u4f5c\u6bcf\u6b21\u63d0\u4ea4\u4e2d\u7684\u5143\u6570\u636e\uff0c\u56e0\u6b64\u4efb\u4f55\u67e5\u770b Git \u65e5\u5fd7\u7684\u4eba\u90fd\u4f1a\u77e5\u9053\u8c01\u63d0\u4ea4\u4e86\u4ee3\u7801\u4ee5\u53ca\u5982\u4f55\u4e0e\u4ed6\u4eec\u8054\u7cfb\u3002 Git \u914d\u7f6e\u7684\u5168\u5c40\u7528\u6237\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u8981\u6c42\u6ca1\u6709\u4efb\u4f55\u90aa\u6076\u4e4b\u5904\u3002<\/p>\n<h3>\u5982\u4f55\u8bbe\u7f6e\u5168\u5c40 git \u914d\u7f6e\u8bbe\u7f6e\uff1f<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u7f16\u8f91\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u3002\u4e00\u79cd\u65b9\u6cd5\u662f\u901a\u8fc7\u547d\u4ee4\u884c\u6dfb\u52a0\u5c5e\u6027\u3002\u5168\u5c40 git \u914d\u7f6e\u7535\u5b50\u90ae\u4ef6\u548c\u7528\u6237\u540d\u5c5e\u6027\u901a\u5e38\u6309\u4ee5\u4e0b\u65b9\u5f0f\u8bbe\u7f6e\uff1a<\/p>\n<pre>git&nbsp;config&nbsp;--global&nbsp;user.name&nbsp;cameronmcnz\ngit&nbsp;config&nbsp;--global&nbsp;user.email&nbsp;global-config@example.com<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 1em 0px;font-family:\">\u4e3a\u4e86\u66f4\u5177\u8868\u73b0\u529b\uff0c\u60a8\u53ef\u4ee5\u5728\u8bbe\u7f6e\u5168\u5c40 git \u914d\u7f6e\u5c5e\u6027\u65f6\u5305\u542b \u2013add \u5f00\u5173\uff1a<\/p>\n<pre>git&nbsp;config&nbsp;--global&nbsp;--add&nbsp;user.name&nbsp;cameronmcnz\ngit&nbsp;config&nbsp;--global&nbsp;--add&nbsp;user.email&nbsp;global-config@example.com<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h3>\u5982\u4f55\u8fdb\u884c git config \u5168\u5c40\u7f16\u8f91\uff1f<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">\u5168\u5c40 git \u914d\u7f6e\u53ea\u662f\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\uff0c\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528\u60a8\u9009\u62e9\u7684\u4efb\u4f55\u6587\u672c\u7f16\u8f91\u5668\u8fdb\u884c\u7f16\u8f91\u3002\u6253\u5f00\uff0c\u7f16\u8f91\u5168\u5c40 git \u914d\u7f6e\uff0c\u4fdd\u5b58\u5e76\u5173\u95ed\uff0c\u66f4\u6539\u5c06\u5728\u4e0b\u6b21\u53d1\u51fa git \u547d\u4ee4\u65f6\u751f\u6548\u3002\u5c31\u8fd9\u4e48\u7b80\u5355\u3002<\/p>\n<p style=\"margin: 1em 0px;font-family:\">\u4ece BASH shell \u6216\u7ec8\u7aef\u7a97\u53e3\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u8c03\u7528\u9ed8\u8ba4\u7684 Git \u7f16\u8f91\u5668\uff1a<\/p>\n<pre>git&nbsp;config&nbsp;--global&nbsp;--edit<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 1em 0px;font-family:\">\u5728 Ubuntu \u4e0a\uff0c\u8fd9\u5c06\u6253\u5f00 Nano \u6587\u672c\u7f16\u8f91\u5668\uff0c\u6211\u4e0d\u592a\u559c\u6b22\u3002\u5e78\u8fd0\u7684\u662f\uff0c\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u53ef\u7528\u4e8e\u5c06\u9ed8\u8ba4\u7684 Git \u7f16\u8f91\u5668\u66f4\u6539\u4e3a\u60a8\u8ba4\u4e3a\u66f4\u7528\u6237\u53cb\u597d\u7684\u5185\u5bb9\u3002<\/p>\n<h3>\u914d\u7f6e Git \u5168\u5c40\u7684\u6838\u5fc3\u7f16\u8f91\u5668<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">\u4ee5\u4e0b\u547d\u4ee4\u53ef\u7528\u4e8e\u66f4\u6539\u5168\u5c40 Git \u914d\u7f6e\u7684\u9ed8\u8ba4\u6587\u672c\u7f16\u8f91\u5668\u4e3a Vim\u3001emacs\u3001Textmate \u6216 Atom\u3002\u6709\u4e00\u4e2a\u5355\u72ec\u7684\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u5236\u4f5c NotePad Git \u7684\u6838\u5fc3\u7f16\u8f91\u5668\uff0c\u8fd9\u5728 Windows \u4e0a\u5f88\u5bb9\u6613\u505a\u5230\uff0c\u4f46\u5728 Linux \u4e0a\u6709\u70b9\u96be\u4ee5\u9884\u6d4b\u3002<\/p>\n<table width=\"640\">\n<tbody>\n<tr>\n<th style=\"color:#f60;text-decoration:underline\">lspan=&#8221;2&#8243; style=&#8221;padding: 5px 10px; border-width: 2px 1px 1px; border-style: solid; border-color: rgb(187, 187, 187) rgb(221, 221, 221) rgb(221, 221, 221); border-image: initial; background-color: rgb(247, 247, 247); text-align: left;&#8221;&gt;Global Git Config Core Editor Settings<\/th>\n<\/tr>\n<tr>\n<th style=\"padding: 5px 10px;border-width: 1px;border-style: solid;text-align: left\">Text Editor<\/th>\n<th style=\"padding: 5px 10px;border-width: 1px;border-style: solid;text-align: left\">Global Git Config Command<\/th>\n<\/tr>\n<tr>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;Atom<\/td>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;git config \u2013global core.editor \u201catom \u2013wait\u201d<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;emacs<\/td>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;git config \u2013global core.editor \u201cemacs\u201d<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;Textmate<\/td>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;git config \u2013global core.editor \u201cmate -w\u201d<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;vim<\/td>\n<td style=\"padding: 5px 10px;vertical-align: top\">&nbsp;git config \u2013global core.editor \u201cvim\u201d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u5982\u4f55\u8986\u76d6 Git \u5168\u5c40\u914d\u7f6e\uff1f<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">Git \u4f7f\u7528 gitconfig \u6587\u4ef6\u7684\u7ea7\u8054\u5e94\u7528\u7a0b\u5e8f\u6765\u786e\u5b9a\u8fd0\u884c\u65f6\u4f7f\u7528\u7684 Git \u914d\u7f6e\u5c5e\u6027\u7684\u503c\u3002\u6b64\u5904\u5217\u51fa\u4e86\u4e94\u4e2a\u5e38\u89c1\u7684 Git \u914d\u7f6e\u8303\u56f4\uff0c\u4ece\u6700\u5177\u4f53\u5230\u6700\u4e00\u822c\uff1a<\/p>\n<ol>\n<li>workingtree<\/li>\n<li>\u672c\u5730<\/li>\n<li>\u5168\u5c40<\/li>\n<li>system<\/li>\n<li>portable<\/li>\n<\/ol>\n<p style=\"margin: 1em 0px;font-family:\">\u7531\u4e8e\u5de5\u4f5c\u6811\u548c\u672c\u5730 git \u8303\u56f4\u6bd4\u5168\u5c40\u66f4\u5177\u4f53\uff0c\u56e0\u6b64\u8fd9\u4e9b\u6587\u4ef6\u4e2d\u8bbe\u7f6e\u7684\u4efb\u4f55\u53d8\u91cf\u90fd\u5c06\u8986\u76d6 git config \u5168\u5c40\u8303\u56f4\u3002\u56e0\u6b64\uff0c\u5982\u679c\u60a8\u9700\u8981\u7ed9\u5b9a\u5b58\u50a8\u5e93\u7684\u7279\u5b9a Git \u914d\u7f6e\u7528\u6237\u540d\u6216\u7535\u5b50\u90ae\u4ef6\uff0c\u6216\u8005\u60a8\u60f3\u8981\u6dfb\u52a0\u7684 Git \u5de5\u4f5c\u6811\u7684\u7279\u6b8a\u8bbe\u7f6e\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u672c\u5730\u6216\u5de5\u4f5c\u6811\u8303\u56f4\u3002<\/p>\n<h3>\u5217\u51fa\u5e76\u663e\u793a\u5168\u5c40 git \u914d\u7f6e<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">\u8981\u67e5\u770b Git \u4e2d\u5168\u5c40\u914d\u7f6e\u7684\u6240\u6709\u5c5e\u6027\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 git config \u547d\u4ee4\u4e0a\u7684 \u2013list \u5f00\u5173\u3002\u6dfb\u52a0 \u2013show-origin \u5f00\u5173\u8fd8\u4f1a\u544a\u8bc9\u60a8\u5168\u5c40 .gitconfig \u6587\u4ef6\u7684\u4f4d\u7f6e\u3002<\/p>\n<pre>global@git:~\/$&nbsp;git&nbsp;config&nbsp;--global&nbsp;--list&nbsp;--show-originfile:\/home\/gme\/.gitconfig&nbsp;user.email=cameronmcnz@example.comfile:\/home\/gme\/.gitconfig&nbsp;user.name=cameronmcnzfile:\/home\/gme\/.gitconfig&nbsp;core.editor=vimfile:\/home\/gme\/.gitconfig&nbsp;http.sslverify=falsefile:\/home\/gme\/.gitconfig&nbsp;credential.helper=storefile:\/home\/gme\/.gitconfig&nbsp;http.proxy=193.168.0.11file:\/home\/gme\/.gitconfig&nbsp;http.postbuffer=193.168.0.12file:\/home\/gme\/.gitconfig&nbsp;http.sslcainfo=193.168.0.10<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h3>\u5220\u9664\u5168\u5c40 git \u914d\u7f6e\u8bbe\u7f6e<\/h3>\n<p style=\"margin: 1em 0px;font-family:\">\u8981\u5220\u9664 git \u914d\u7f6e\u8bbe\u7f6e\uff0c\u53ea\u9700\u4f7f\u7528 unset \u547d\u4ee4\uff1a<\/p>\n<pre>git&nbsp;config&nbsp;--global&nbsp;--unset&nbsp;core.editor<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 1em 0px;font-family:\">\u6709\u65f6\uff0c\u67d0\u4e2a\u5c5e\u6027\u4f1a\u88ab\u8bbe\u7f6e\u4e24\u6b21\uff0c\u5e76\u4e14 \u2013unset \u5f00\u5173\u4f1a\u5931\u8d25\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ea\u9700\u4f7f\u7528\u5168\u5c40 git config \u7684 \u2013unset-all \u5f00\u5173\u5373\u53ef\u3002<\/p>\n<pre>git&nbsp;config&nbsp;--global&nbsp;--unset-all&nbsp;core.editor<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"margin: 1em 0px;font-family:\">\u5168\u5c40 git \u914d\u7f6e\u662f\u81ea\u5b9a\u4e49\u7248\u672c\u63a7\u5236\u4f53\u9a8c\u7684\u91cd\u8981\u6587\u4ef6\u3002\u4e86\u89e3\u5982\u4f55\u663e\u793a Git \u914d\u7f6e\u8bbe\u7f6e\u5f88\u91cd\u8981\uff0c\u80fd\u591f\u7f16\u8f91\u3001\u66f4\u65b0\u548c\u5220\u9664\u8bbe\u7f6e\u4e5f\u5f88\u91cd\u8981\u3002&nbsp;\u4e86\u89e3\u5982\u4f55\u64cd\u4f5c\u80af\u5b9a\u4f1a\u8ba9\u60a8\u4f7f\u7528\u5168\u5c40 Git \u914d\u7f6e\u5de5\u5177\u7684\u4f53\u9a8c\u66f4\u52a0\u6109\u5feb\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u8bbe\u7f6e\u91cd\u8981\u7684 Git \u914d\u7f6e\u5168\u5c40\u5c5e\u6027\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>\u81ea\u5b9a\u4e49\u5f00\u53d1\u73af\u5883\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c\u4f46\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u662f\u6700\u6709\u53ef\u80fd\u7528\u4e8e\u81ea\u5b9a\u4e49\u8bbe\u7f6e\uff08\u4f8b\u5982\u7528\u6237\u540d\u3001\u7535\u5b50\u90ae\u4ef6\u3001\u9996\u9009\u6587\u672c\u7f16\u8f91\u5668\u548c\u8fdc\u7a0b\u5206\u652f\uff09\u7684\u4e00\u79cd\u3002\u4ee5\u4e0b\u662f\u60a8\u9700\u8981\u4e86\u89e3\u7684\u6709\u5173\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u7684\u5173\u952e\u4e8b\u9879\u3002 \u5168\u5c40 \u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e\u54ea\u91cc\uff1f \u5168\u5c40 Git \u914d\u7f6e\u6587\u4ef6\u5b58\u50a8\u5728\u4e00\u4e2a\u540d\u4e3a . gitconfig \u7528\u6237\u7684\u4e3b\u76ee\u5f55\u3002\u6839\u636e\u7684\u4e0d\u540c\uff0c\u8fd9\u5c06\u662f\uff1a C:UsersWindows \u4e0a ~home\/Linux \u4e0a ~root\/ \u7528\u4e8e sudo \u64cd\u4f5c \u9700\u8981\u6ce8\u610f\u7684\u4e00\u70b9\u662f\u6bcf\u4e2a\u7528\u6237\u90fd\u6709\u81ea\u5df1\u7684\u5168\u5c40 Git \u914d\u7f6e\u6587\u4ef6\u3002\u5982\u679c\u60a8\u4f7f\u7528 sudo \u547d\u4ee4\u8fd0\u884c shell \u811a\u672c\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u95ee\u9898\u3002\u5982\u679c\u5728\u811a\u672c\u4e2d\u4f7f\u7528 sudo\uff0c\u5219\u5c06\u4f7f\u7528 ~root\/.gitconfig \u6587\u4ef6\uff0c\u800c\u4e0d\u662f\u8fd0\u884c\u811a\u672c\u7684\u7528\u6237\u7684\u5168\u5c40 git \u914d\u7f6e\u6587\u4ef6\u3002\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u610f\u5916\u7ed3\u679c\uff0c\u56e0\u6b64\u8bf7\u8c28\u614e\u4f7f\u7528 sudo \u547d\u4ee4\u3002 git config \u2013list \u547d\u4ee4\u5c06\u663e\u793a\u5168\u5c40 git \u914d\u7f6e\u8bbe\u7f6e\u3002 Git \u914d\u7f6e\u5168\u5c40\u7528\u6237\u540d\u548c\u7535\u5b50\u90ae\u4ef6 \u5728\u53d1\u51fa\u672c\u5730 Git \u63d0\u4ea4\u4e4b\u524d\uff0c\u5fc5\u987b\u8bbe\u7f6e\u5168\u5c40 git \u914d\u7f6e\u7528\u6237\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5c5e\u6027\u3002\u522b\u62c5\u5fc3\uff0c\u60a8\u7684\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u4e0d\u4f1a\u51fa\u73b0\u5728\u90ae\u4ef6\u5217\u8868\u4e2d\u3002\u8fd9\u4e9b\u8be6\u7ec6\u4fe1\u606f\u4ec5\u7528\u4f5c\u6bcf\u6b21\u63d0\u4ea4\u4e2d\u7684\u5143\u6570\u636e\uff0c\u56e0\u6b64\u4efb\u4f55\u67e5\u770b Git \u65e5\u5fd7\u7684\u4eba\u90fd\u4f1a\u77e5\u9053\u8c01\u63d0\u4ea4\u4e86\u4ee3\u7801\u4ee5\u53ca\u5982\u4f55\u4e0e\u4ed6\u4eec\u8054\u7cfb\u3002 Git \u914d\u7f6e\u7684\u5168\u5c40\u7528\u6237\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u8981\u6c42\u6ca1\u6709\u4efb\u4f55\u90aa\u6076\u4e4b\u5904\u3002 \u5982\u4f55\u8bbe\u7f6e\u5168\u5c40 git \u914d\u7f6e\u8bbe\u7f6e\uff1f [&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-18709","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18709","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=18709"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18709\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=18709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=18709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=18709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}