{"id":20990,"date":"2024-11-19T14:11:49","date_gmt":"2024-11-19T06:11:49","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20990\/"},"modified":"2024-11-19T14:11:49","modified_gmt":"2024-11-19T06:11:49","slug":"webstorm%e6%80%8e%e4%b9%88%e6%8f%90%e4%ba%a4%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20990\/","title":{"rendered":"webstorm\u600e\u4e48\u63d0\u4ea4\u4ee3\u7801"},"content":{"rendered":"<blockquote><p>\n  \u4f7f\u7528 webstorm \u63d0\u4ea4\u4ee3\u7801\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u5173\u8054\u8fdc\u7a0b\u4ed3\u5e93\u3002\u521b\u5efa\u672c\u5730\u526f\u672c\u3002\u4fee\u6539\u6587\u4ef6\u3002\u6682\u5b58\u53d8\u66f4\u3002\u63d0\u4ea4\u53d8\u66f4\u3002\u63a8\u9001\u53d8\u66f4\u3002\u521b\u5efa\u62c9\u53d6\u8bf7\u6c42\uff08\u53ef\u9009\uff09\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/08\/2024040814092127003.jpg\" class=\"aligncenter\" title=\"webstorm\u600e\u4e48\u63d0\u4ea4\u4ee3\u7801\u63d2\u56fe\" alt=\"webstorm\u600e\u4e48\u63d0\u4ea4\u4ee3\u7801\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528 WebStorm \u63d0\u4ea4\u4ee3\u7801<\/strong><\/p>\n<p>\u5728 WebStorm \u4e2d\u63d0\u4ea4\u4ee3\u7801\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<p><strong>1. \u5173\u8054\u8fdc\u7a0b\u4ed3\u5e93<\/strong><\/p>\n<pre>VCS -&gt; Import Version Control -&gt; GitHub<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8f93\u5165\u8fdc\u7a0b\u4ed3\u5e93\u7684 URL \u6216\u9009\u62e9\u4e00\u4e2a\u73b0\u6709\u7684\u4ed3\u5e93\u3002<\/p>\n<p><strong>2. \u521b\u5efa\u672c\u5730\u526f\u672c<\/strong><\/p>\n<pre>VCS -&gt; Git -&gt; Create Branch...<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8f93\u5165\u5206\u652f\u540d\u79f0\u5e76\u9009\u62e9\u4e0e\u8fdc\u7a0b\u4ed3\u5e93\u5173\u8054\u3002<\/p>\n<p><strong>3. \u4fee\u6539\u6587\u4ef6<\/strong><\/p>\n<p>\u5bf9\u8981\u63d0\u4ea4\u7684\u6587\u4ef6\u8fdb\u884c\u4fee\u6539\u6216\u66f4\u65b0\u3002<\/p>\n<p><strong>4. \u6682\u5b58\u53d8\u66f4<\/strong><\/p>\n<pre>VCS -&gt; Git -&gt; Add<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u9009\u62e9\u8981\u63d0\u4ea4\u7684\u53d8\u66f4\uff0c\u7136\u540e\u5355\u51fb\u201cAdd\u201d\u3002<\/p>\n<p><strong>5. \u63d0\u4ea4\u53d8\u66f4<\/strong><\/p>\n<pre>VCS -&gt; Git -&gt; Commit<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8f93\u5165\u63d0\u4ea4\u6d88\u606f\uff0c\u7136\u540e\u5355\u51fb\u201cCommit\u201d\u3002<\/p>\n<p><strong>6. \u63a8\u9001\u53d8\u66f4<\/strong><\/p>\n<pre>VCS -&gt; Git -&gt; Push<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u9009\u62e9\u8981\u63a8\u9001\u7684\u5206\u652f\uff0c\u7136\u540e\u5355\u51fb\u201cPush\u201d\u3002<\/p>\n<p><strong>7. \u521b\u5efa\u62c9\u53d6\u8bf7\u6c42\uff08\u53ef\u9009\uff09<\/strong><\/p>\n<p>\u5982\u679c\u63d0\u4ea4\u5230\u8fdc\u7a0b\u4ed3\u5e93\u7684\u5206\u652f\u4e0d\u662f\u4e3b\u5206\u652f\uff0c\u5219\u9700\u8981\u521b\u5efa\u62c9\u53d6\u8bf7\u6c42\u4ee5\u5c06\u53d8\u66f4\u5408\u5e76\u5230\u4e3b\u5206\u652f\u4e2d\u3002<\/p>\n<pre>VCS -&gt; Git -&gt; Pull Request...<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u9009\u62e9\u6e90\u5206\u652f\u548c\u76ee\u6807\u5206\u652f\uff0c\u7136\u540e\u5355\u51fb\u201cCreate\u201d\u3002<\/p>\n<p><strong>\u63d0\u793a\uff1a<\/strong><\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528\u5feb\u6377\u952e\u53ef\u4ee5\u52a0\u5feb\u63d0\u4ea4\u4ee3\u7801\u7684\u8fc7\u7a0b\uff1a<\/p>\n<ul>\n<li>Ctrl + Alt + K \u7528\u4e8e\u6682\u5b58\u53d8\u66f4<\/li>\n<li>Ctrl + Alt + M \u7528\u4e8e\u63d0\u4ea4\u53d8\u66f4<\/li>\n<li>Ctrl + Alt + U \u7528\u4e8e\u63a8\u9001\u53d8\u66f4<\/li>\n<\/ul>\n<\/li>\n<li>\u53ef\u4ee5\u4f7f\u7528\u7248\u672c\u63a7\u5236\u5386\u53f2\u8bb0\u5f55\u6765\u8ddf\u8e2a\u53d8\u66f4\u548c\u56de\u6eda\u5230\u65e9\u671f\u7248\u672c\u3002<\/li>\n<li>WebStorm \u63d0\u4f9b\u4e86\u8bb8\u591a\u5176\u4ed6\u529f\u80fd\u6765\u7b80\u5316\u4ee3\u7801\u63d0\u4ea4\u8fc7\u7a0b\uff0c\u4f8b\u5982\u4ee3\u7801\u5ba1\u67e5\u548c\u5408\u5e76\u51b2\u7a81\u68c0\u6d4b\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u63d0\u4ea4\u4ee3\u7801\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>\u4f7f\u7528 webstorm \u63d0\u4ea4\u4ee3\u7801\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u5173\u8054\u8fdc\u7a0b\u4ed3\u5e93\u3002\u521b\u5efa\u672c\u5730\u526f\u672c\u3002\u4fee\u6539\u6587\u4ef6\u3002\u6682\u5b58\u53d8\u66f4\u3002\u63d0\u4ea4\u53d8\u66f4\u3002\u63a8\u9001\u53d8\u66f4\u3002\u521b\u5efa\u62c9\u53d6\u8bf7\u6c42\uff08\u53ef\u9009\uff09\u3002 \u5982\u4f55\u4f7f\u7528 WebStorm \u63d0\u4ea4\u4ee3\u7801 \u5728 WebStorm \u4e2d\u63d0\u4ea4\u4ee3\u7801\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a 1. \u5173\u8054\u8fdc\u7a0b\u4ed3\u5e93 VCS -&gt; Import Version Control -&gt; GitHub \u767b\u5f55\u540e\u590d\u5236 \u8f93\u5165\u8fdc\u7a0b\u4ed3\u5e93\u7684 URL \u6216\u9009\u62e9\u4e00\u4e2a\u73b0\u6709\u7684\u4ed3\u5e93\u3002 2. \u521b\u5efa\u672c\u5730\u526f\u672c VCS -&gt; Git -&gt; Create Branch&#8230; \u767b\u5f55\u540e\u590d\u5236 \u8f93\u5165\u5206\u652f\u540d\u79f0\u5e76\u9009\u62e9\u4e0e\u8fdc\u7a0b\u4ed3\u5e93\u5173\u8054\u3002 3. \u4fee\u6539\u6587\u4ef6 \u5bf9\u8981\u63d0\u4ea4\u7684\u6587\u4ef6\u8fdb\u884c\u4fee\u6539\u6216\u66f4\u65b0\u3002 4. \u6682\u5b58\u53d8\u66f4 VCS -&gt; Git -&gt; Add \u767b\u5f55\u540e\u590d\u5236 \u9009\u62e9\u8981\u63d0\u4ea4\u7684\u53d8\u66f4\uff0c\u7136\u540e\u5355\u51fb\u201cAdd\u201d\u3002 5. \u63d0\u4ea4\u53d8\u66f4 VCS -&gt; Git -&gt; Commit \u767b\u5f55\u540e\u590d\u5236 \u8f93\u5165\u63d0\u4ea4\u6d88\u606f\uff0c\u7136\u540e\u5355\u51fb\u201cCommit\u201d\u3002 6. \u63a8\u9001\u53d8\u66f4 [&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-20990","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20990","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=20990"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20990\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}