{"id":85250,"date":"2020-03-31T23:20:42","date_gmt":"2020-03-31T15:20:42","guid":{"rendered":"http:\/\/4563.org\/?p=85250"},"modified":"2020-03-31T23:20:42","modified_gmt":"2020-03-31T15:20:42","slug":"idea-phpstorm-webstorm-%e5%a6%82%e4%bd%95%e6%8a%8a%e5%b7%b2%e7%bb%8f%e5%8a%a0%e5%85%a5-gitignore-%e7%9a%84%e7%9b%ae%e5%bd%95-%e6%96%87%e4%bb%b6%e9%87%8d%e6%96%b0%e7%ba%b3%e5%85%a5%e7%b4%a2%e5%bc%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=85250","title":{"rendered":"IDEA\/PHPStorm\/WebStorm \u5982\u4f55\u628a\u5df2\u7ecf\u52a0\u5165 .gitignore \u7684\u76ee\u5f55\/\u6587\u4ef6\u91cd\u65b0\u7eb3\u5165\u7d22\u5f15\u548c\u81ea\u52a8\u63d0\u793a\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  IDEA\/PHPStorm\/WebStorm \u5982\u4f55\u628a\u5df2\u7ecf\u52a0\u5165 .gitignore \u7684\u76ee\u5f55\/\u6587\u4ef6\u91cd\u65b0\u7eb3\u5165\u7d22\u5f15\u548c\u81ea\u52a8\u63d0\u793a\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : my101du <\/span>  <span><i><\/i> 15<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6211\u8fd9\u4e2a\u9700\u6c42\u6bd4\u8f83\u5947\u602a\uff0c\u800c\u4e14 google \u5f88\u4e45\u90fd\u6ca1\u627e\u5230\uff0c\u5e0c\u671b\u6709\u719f\u6089 JB \u8f6f\u4ef6\u7684 V \u53cb\u89e3\u7b54\uff0c\u8c22\u8c22~<\/p>\n<ol>\n<li>\u6709\u4e00\u4e2a php \u9879\u76ee<\/li>\n<li>\u65b0\u5efa\u4e86\u4e00\u4e2a <strong>\u7279\u6b8a\u7684\u76ee\u5f55<\/strong>\uff08\u6682\u4e14\u53eb \/test_controller \uff09\uff0c\u4e13\u95e8\u6765\u8fd0\u884c\u4e00\u4e9b\u9700\u8981\u8bfb\u53d6 session\/cookie \u7b49\u7684\u5c0f\u4ee3\u7801\u7247\u6bb5 \uff08 phpunit \u5f88\u591a\u65f6\u5019\u4e0d\u65b9\u4fbf\uff09<\/li>\n<li>\u8fd9\u4e2a\u76ee\u5f55\u56e0\u4e3a\u662f\u79c1\u4eba\u7528\u9014\uff08\u4e00\u4e9b\u4e34\u65f6\u7684\u5c0f\u4ee3\u7801\u7247\u6bb5\uff09\uff0c\u4e0d\u5e0c\u671b\u653e\u5165\u7248\u672c\u7ba1\u7406\u3002<strong>\u56e0\u6b64\u5728 .gitignore \u91cc\u5ffd\u7565\u4e86\u5b83<\/strong><\/li>\n<\/ol>\n<p>\u95ee\u9898\u6765\u4e86<\/p>\n<p>PHPStorm \u56e0\u4e3a\u8bc6\u522b\u5230\u5b83\u662f\u201c\u5ffd\u7565\u201d\uff0c\u56e0\u6b64<\/p>\n<p><strong>\u6240\u6709\u7684\u51fd\u6570\u81ea\u52a8\u63d0\u793a\u3001\u5206\u6790\u7b49\u8d34\u5fc3\u529f\u80fd\u90fd\u6ca1\u6709\u4e86<\/strong><\/p>\n<p>\uff08 tab \u680f\u4e0a\u7684\u6587\u4ef6\u540d\u989c\u8272\u90fd\u4e0d\u4e00\u6837\uff09\u3002<\/p>\n<p>\u6211\u8bd5\u8fc7\u53f3\u952e\u201cset as source root\u201d\u7b49\uff0c\u65e0\u6548\u3002<\/p>\n<p>\u90a3\u4e48\u8bf7\u95ee\uff0c\u6709\u6ca1\u6709\u529e\u6cd5\u5462\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>2<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1410049\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : HarryQu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u8bd5\u8fc7\u54ce\uff0c\u8981\u4e0d\u6362\u79cd\u65b9\u5f0f\u6765\u5b9e\u73b0\u4f60\u7684\u9700\u6c42?<\/p>\n<p>\u5982\u679c test_controller \u76ee\u5f55\u4e0b\u6587\u4ef6\u4e0d\u662f\u5f88\u591a\u7684\u8bdd\uff0c\u4f7f\u7528 PHPStorm \u5728 commit \u65f6\uff0c\u9009\u4e2d\u6587\u4ef6\uff0c\u53f3\u952e move files to other changelist \u3002<\/p>\n<p>\u8fd9\u6837\u63d0\u4ea4\u65f6\uff0c\u6ce8\u610f\u4e00\u4e0b Changelist \u5c31\u53ef\u4ee5\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1410050\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GTim <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f16\u8f91 `.gitignore` \u7136\u540e\u628a\u76f8\u5173\u6587\u4ef6\u6216\u76ee\u5f55\u5220\u9664\u5373\u53ef                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>IDEA\/PHPStorm\/Web&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85250"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85250"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85250\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85250"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}