{"id":179,"date":"2023-10-18T16:12:42","date_gmt":"2023-10-18T08:12:42","guid":{"rendered":"https:\/\/www.vanforever.com.cn\/?p=179"},"modified":"2026-03-21T14:52:44","modified_gmt":"2026-03-21T06:52:44","slug":"3%e5%88%86%e9%92%9f%e5%b8%a6%e4%bd%a0%e4%ba%86%e8%a7%a3%e6%b8%b8%e6%88%8f%e5%88%b6%e4%bd%9c%e4%b8%ad%e7%9b%b8%e5%85%b3%e5%b7%a5%e5%85%b7%e7%9a%84%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.vanforever.com.cn\/?p=179","title":{"rendered":"3\u5206\u949f\u5e26\u4f60\u4e86\u89e3\u6e38\u620f\u5236\u4f5c\u4e2d\u76f8\u5173\u5de5\u5177\u7684\u4f7f\u7528"},"content":{"rendered":"<h1 id=\"3\u5206\u949f\u5e26\u4f60\u4e86\u89e3\u6e38\u620f\u5236\u4f5c\u4e2d\u76f8\u5173\u5de5\u5177\u7684\u4f7f\u7528\">\u6e38\u620f\u5236\u4f5c\u4e2d\u76f8\u5173\u5de5\u5177\u7684\u4f7f\u7528<\/h1>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/pic.vanforever.com.cn\/Vanforever\/20231018\/wallhaven-wedd57_2560x1600.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/pic.vanforever.com.cn\/Vanforever\/20231018\/wallhaven-wedd57_2560x1600.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" \/><\/div><\/p>\n<h2 id=\"git--\u5206\u5e03\u5f0f\u7248\u672c\u63a7\u5236\u7cfb\u7edf\">git&#8211;<em>\u5206\u5e03\u5f0f\u7248\u672c\u63a7\u5236\u7cfb\u7edf<\/em><\/h2>\n<p>Git \u4f7f\u7528 <strong>git init<\/strong> \u547d\u4ee4\u6765\u521d\u59cb\u5316\u4e00\u4e2a Git \u4ed3\u5e93\uff0cGit \u7684\u5f88\u591a\u547d\u4ee4\u90fd\u9700\u8981\u5728 Git \u7684\u4ed3\u5e93\u4e2d\u8fd0\u884c\uff0c\u6240\u4ee5 <strong>git init<\/strong> \u662f\u4f7f\u7528 Git \u7684\u7b2c\u4e00\u4e2a\u547d\u4ee4\u3002<\/p>\n<p>\u5728\u6267\u884c\u5b8c\u6210 <strong>git init<\/strong> \u547d\u4ee4\u540e\uff0cGit \u4ed3\u5e93\u4f1a\u751f\u6210\u4e00\u4e2a .git \u76ee\u5f55\uff0c\u8be5\u76ee\u5f55\u5305\u542b\u4e86\u8d44\u6e90\u7684\u6240\u6709\u5143\u6570\u636e\uff0c\u5176\u4ed6\u7684\u9879\u76ee\u76ee\u5f55\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u5c06\u672c\u5730\u9879\u76ee\u4e0egithub\u4e0a\u7684\u4ed3\u5e93\u76f8\u5173\u8054,\u5e76\u63d0\u4ea4\u76f8\u5173\u4fe1\u606f,\u9700\u8981\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4:<\/p>\n<p>\u521d\u59cb\u5316\u4ed3\u5e93<\/p>\n<pre><code>git init\n<\/code><\/pre>\n<p>\u5982\u679c\u662f\u7b2c\u4e00\u6b21\u63d0\u4ea4\u7684\u8bdd\u9700\u8981\u586b\u5199\u81ea\u5df1\u7684\u7528\u6237\u540d\u548c\u90ae\u7bb1<\/p>\n<pre><code> git config --global user.email\"\u90ae\u7bb1\" \n git config --global user.name\"\u540d\u5b57\" \n<\/code><\/pre>\n<p>\u5173\u8054\u81ea\u5df1\u7684\u4ed3\u5e93\u5730\u5740<\/p>\n<pre><code>git remote add origin \u4ed3\u5e93\u5730\u5740\n<\/code><\/pre>\n<p>\u5c06\u8fdc\u7a0b\u5e93\u5185\u5bb9\u4e0e\u672c\u5730\u5185\u5bb9\u5408\u5e76<\/p>\n<pre><code>git pull origin master \/\/\u5176\u4e2dorigin\u4e0emaster\u662f\u8fdc\u7a0b\u4ed3\u5e93\u540d\u548c\u5206\u652f\u540d\n<\/code><\/pre>\n<p>\u5c06\u6587\u4ef6\u7684\u4fee\u6539\u6dfb\u52a0\u5230\u6682\u5b58\u533a,\u901a\u8fc7\u8fd0\u884c <strong>git add<\/strong> \u547d\u4ee4\uff0c\u4f60\u53ef\u4ee5\u544a\u8bc9 Git \u54ea\u4e9b\u6587\u4ef6\u7684\u4fee\u6539\u5e94\u8be5\u5305\u542b\u5728\u4e0b\u4e00\u6b21<strong>commit<\/strong>\u4e2d\u3002<\/p>\n<pre><code>git add .\n<\/code><\/pre>\n<p>\u5c06\u6682\u5b58\u533a\u5185\u5bb9\u6dfb\u52a0\u5230\u672c\u5730\u4ed3\u5e93\u4e2d<\/p>\n<pre><code>git commit -m \u201c\u7b2c\u4e00\u6b21\u63d0\u4ea4\u201d \/\/\u5f15\u53f7\u4e2d\u7684\u5185\u5bb9\u662f\u63d0\u4ea4\u65f6\u5199\u7684\u6ce8\u91ca\n<\/code><\/pre>\n<p>\u5c06\u672c\u5730\u7684\u5206\u652f\u7248\u672c\u4e0a\u4f20\u5230\u8fdc\u7a0b\u5e76\u5408\u5e76<\/p>\n<pre><code>git push origin master\n<\/code><\/pre>\n<h2 id=\"resharper--\u8ba9\u4f60\u7684\u5de5\u4f5c\u66f4\u52a0\u4fbf\u6377\">Resharper&#8211;\u8ba9\u4f60\u7684\u5de5\u4f5c\u66f4\u52a0\u4fbf\u6377<\/h2>\n<h3 id=\"resharper\u7684\u5feb\u6377\u952e\">Resharper\u7684\u5feb\u6377\u952e<\/h3>\n<p><strong>Ctrl + W<\/strong> \u5feb\u901f\u9009\u4e2d\u6574\u4e2a\/\u4e00\u5757\u5355\u8bcd<\/p>\n<p><strong>Ctrl + Alt + L<\/strong> \u89e3\u51b3\u65b9\u6848\u8d44\u6e90\u7ba1\u7406\u5668<\/p>\n<p><strong>Ctrl + &#8211;<\/strong> \u56de\u9000\u5230\u4e0a\u4e00\u6b65\u64cd\u4f5c<\/p>\n<p><strong>Ctrl+L<\/strong> \u5feb\u901f\u5220\u9664\u8fd9\u4e00\u884c\u4ee3\u7801<\/p>\n<p><strong>ALT+~<\/strong> \u5bfc\u822a\u6240\u6709<\/p>\n<p><strong>Ctrl+J<\/strong> \u5feb\u901f\u9009\u62e9\u76f8\u5e94\u7684\u73b0\u573a\u6a21\u677f<\/p>\n<p><strong>Ctrl+Shift+\/<\/strong> \u533a\u57df\u5185\u90e8\u6ce8\u91ca<\/p>\n<h3 id=\"\u8df3\u5230\u58f0\u660e\">\u8df3\u5230\u58f0\u660e<\/h3>\n<p>\u6309Ctrl\u952e\uff0c\u5c06\u9f20\u6807\u60ac\u505c\u5728\u4f60\u7684\u4ee3\u7801\u4e0a\u3002\u6211\u4eec\u5c06\u770b\u5230\uff0c\u5176\u4ed6\u4f4d\u7f6e\u5b9a\u4e49\u7684\u6240\u6709\u76f8\u540c\u7684\u7c7b\u540d\u5728\u7126\u70b9\u65f6\u90fd\u4f1a\u51fa\u73b0\u4e0b\u5212\u7ebf\u3002\u540c\u65f6\u4f60\u53ef\u4ee5\u6309\u4f4fCtrl\u952e\u5e76\u70b9\u51fb\u4efb\u4f55\u7c7b\u540d\u76f4\u63a5\u5bfc\u822a\u5230\u5b83\u7684\u58f0\u660e\u3002\u5982\u679c\u53d8\u91cf\u6216\u7c7b\u5728\u5f53\u524d\u89e3\u51b3\u65b9\u6848\u4e2d\u5b9a\u4e49\uff0cReSharper\u5c06\u6253\u5f00\u76f8\u5e94\u7684\u6587\u4ef6\u5e76\u5c06\u5149\u6807\u5e26\u5230\u58f0\u660e\u5904\u3002\u5982\u679c\u7c7b\u540d\u5728\u7f16\u8bd1\u5e93\u4e2d\u5b9a\u4e49\uff0cReSharper\u5c06\u6839\u636e\u4f60\u7684\u8bbe\u5b9a\u6253\u5f00\u5b83\u3002<\/p>\n<h2 id=\"\u5f15\u7528\">\u5f15\u7528<\/h2>\n<p><a href=\"https:\/\/www.runoob.com\/\">\u83dc\u9e1f\u6559\u7a0b &#8211; \u5b66\u7684\u4e0d\u4ec5\u662f\u6280\u672f\uff0c\u66f4\u662f\u68a6\u60f3\uff01 (runoob.com)<\/a><\/p>\n<p><a href=\"https:\/\/blog.csdn.net\/Heschel\/article\/details\/118180422\">VS+Resharper \u5171\u7528\u7684\u4e00\u4e9b\u5e38\u7528\u5feb\u6377\u952e\uff0c\u901f\u6765\u6536\u85cf\uff01_Heschel\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6e38\u620f\u5236\u4f5c\u4e2d\u76f8\u5173\u5de5\u5177\u7684\u4f7f\u7528 git&#8211;\u5206\u5e03\u5f0f\u7248\u672c\u63a7\u5236\u7cfb\u7edf Git \u4f7f\u7528 git init \u547d\u4ee4\u6765\u521d\u59cb\u5316 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[10],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-11","tag-10"],"_links":{"self":[{"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179"}],"version-history":[{"count":10,"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions\/579"}],"wp:attachment":[{"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vanforever.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}