{"id":621,"date":"2022-04-28T09:50:39","date_gmt":"2022-04-28T01:50:39","guid":{"rendered":"https:\/\/www.hgostand.com\/?p=621"},"modified":"2022-05-13T08:39:42","modified_gmt":"2022-05-13T00:39:42","slug":"%e5%a6%82%e4%bd%95%e7%bc%96%e5%86%99git%e6%8f%90%e4%ba%a4%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/wite.oxoooo.com\/?p=621","title":{"rendered":"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u4e3a\u4ec0\u4e48\u597d\u7684\u63d0\u4ea4\u4fe1\u606f\u5f88\u91cd\u8981\uff1f<br>\u5982\u679c\u4f60\u968f\u4fbf\u6d4f\u89c8\u4e00\u4e0b Git \u4ed3\u5e93\u7684\u65e5\u5fd7\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u5b83\u7684\u63d0\u4ea4\u4fe1\u606f\u6216\u591a\u6216\u5c11\u90fd\u662f\u4e00\u56e2\u7cdf\uff0c\u4f8b\u5982\uff0c\u770b\u770b\u6211\u65e9\u671f\u63d0\u4ea4Spring\u7684\u65f6\u5019\u7684\u8fd9\u4e9b\u63d0\u4ea4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git log --oneline -5 --author cbeams --before \"Fri Mar 26 2009\"\n\ne5f4b49 Re-adding ConfigurationPostProcessorTests after its brief removal in r814. @Ignore-ing the testCglibClassesAreLoadedJustInTimeForEnhancement() method as it turns out this was one of the culprits in the recent build breakage. The classloader hacking causes subtle downstream effects, breaking unrelated tests. The test method is still useful, but should only be run on a manual basis to ensure CGLIB is not prematurely classloaded, and should not be run as part of the automated build.\n2db0f12 fixed two build-breaking issues: + reverted ClassMetadataReadingVisitor to revision 794 + eliminated ConfigurationPostProcessorTests until further investigation determines why it causes downstream tests to fail (such as the seemingly unrelated ClassPathXmlApplicationContextTests)\n147709f Tweaks to package-info.java files\n22b25e0 Consolidated Util and MutableAnnotationUtils classes into existing AsmUtils\n7f96f57 polishing<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c06\u5176\u4e0e\u540c\u4e00\u5b58\u4ed3\u5e93\u4e2d\u4e2d\u6700\u8fd1\u7684\u63d0\u4ea4\u8fdb\u884c\u6bd4\u8f83\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git log --oneline -5 --author pwebb --before \"Sat Aug 30 2014\"\n\n5ba3db6 Fix failing CompositePropertySourceTests\n84564a0 Rework @PropertySource early parsing logic\ne142fd1 Add tests for ImportSelector meta-data\n887815f Update docbook dependency and generate epub\nac8326d Polish mockito usage<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f60\u66f4\u613f\u610f\u8bfb\u54ea\u4e2a\uff1f<br>\u524d\u8005\u5728\u957f\u5ea6\u548c\u5f62\u5f0f\u4e0a\u5404\u4e0d\u76f8\u540c\uff1b\u540e\u8005\u5219\u662f\u7b80\u660e\u800c\u4e00\u81f4\u7684\uff0c\u524d\u8005\u662f\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53d1\u751f\u7684\uff1b\u540e\u8005\u6c38\u8fdc\u4e0d\u4f1a\u5076\u7136\u53d1\u751f\u3002\u867d\u7136\u8bb8\u591a\u4ed3\u5e93\u7684\u65e5\u5fd7\u770b\u8d77\u6765\u50cf\u524d\u8005\uff0c\u4f46\u4e5f\u6709\u4f8b\u5916\u3002Linux\u5185\u6838\u5c31\u662f\u5f88\u597d\u7684\u4f8b\u5b50\u3002\u770b\u770bSpring Boot\uff0c\u6216\u8005Tim Pope\u7ba1\u7406\u7684\u4efb\u4f55\u4ed3\u5e93\uff0c\u8fd9\u4e9b\u4ed3\u5e93\u7684\u8d21\u732e\u8005\u90fd\u77e5\u9053\uff0c\u7cbe\u5fc3\u8bbe\u8ba1\u7684 Git \u63d0\u4ea4\u4fe1\u606f\u662f\u5411\u5176\u4ed6\u5f00\u53d1\u8005\uff08\u751a\u81f3\u662f\u672a\u6765\u7684\u81ea\u5df1\uff09\u4f20\u8fbe\u53d8\u5316\u7684\u6700\u597d\u65b9\u5f0f\u3002\u5dee\u5f02\u4f1a\u544a\u8bc9\u4f60\u6709\u4ec0\u4e48\u53d8\u5316\uff0c\u4f46\u53ea\u6709\u63d0\u4ea4\u4fe1\u606f\u624d\u80fd\u6b63\u786e\u5730\u544a\u8bc9\u4f60\u539f\u56e0\u3002Peter Hutterer\u5f88\u597d\u5730\u8bf4\u660e\u4e86\u8fd9\u4e00\u70b9\u3002<\/p>\n\n\n\n<figure class=\"wp-block-pullquote has-text-align-left has-small-font-size\"><blockquote><p>\u91cd\u65b0\u5efa\u7acb\u4e00\u6bb5\u4ee3\u7801\u7684\u4e0a\u4e0b\u6587\u662f\u6d6a\u8d39\u7684\u3002\u6211\u4eec\u4e0d\u80fd\u5b8c\u5168\u907f\u514d\u5b83\uff0c\u6240\u4ee5\u6211\u4eec\u7684\u52aa\u529b\u5e94\u8be5\u53bb\u5c3d\u53ef\u80fd\u5730\u51cf\u5c11\u5b83\u63d0\u4ea4\u4fe1\u606f\u6b63\u597d\u53ef\u4ee5\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u56e0\u6b64\uff0c\u63d0\u4ea4\u4fe1\u606f\u53ef\u4ee5\u663e\u793a\u51fa\u4e00\u4e2a\u5f00\u53d1\u8005\u662f\u5426\u662f\u4e00\u4e2a\u597d\u7684\u5408\u4f5c\u8005\u3002<\/p><\/blockquote><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u6ca1\u6709\u8003\u8651\u8fc7\u600e\u6837\u624d\u80fd\u5199\u51fa\u4e00\u6761\u597d\u7684 Git \u63d0\u4ea4\u4fe1\u606f\uff0c\u90a3\u53ef\u80fd\u662f\u4f60\u6ca1\u6709\u82b1\u592a\u591a\u65f6\u95f4\u4f7f\u7528 git log \u548c\u76f8\u5173\u5de5\u5177\u3002\u8fd9\u91cc\u6709\u4e00\u4e2a\u6076\u6027\u5faa\u73af\uff1a\u56e0\u4e3a\u63d0\u4ea4\u5386\u53f2\u662f\u65e0\u5e8f\u7684\u3001\u4e0d\u4e00\u81f4\u7684\uff0c\u6240\u4ee5\u4eba\u4eec\u4e0d\u4f1a\u82b1\u5f88\u591a\u65f6\u95f4\u53bb\u4f7f\u7528\u6216\u7167\u987e\u5b83\u3002\u53c8\u56e0\u4e3a\u5b83\u6ca1\u6709\u88ab\u4f7f\u7528\u6216\u7167\u987e\uff0c\u6240\u4ee5\u5b83\u4ecd\u7136\u662f\u975e\u7ed3\u6784\u5316\u7684\u548c\u4e0d\u4e00\u81f4\u7684\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>git blame\u3001revert\u3001rebase\u3001log\u3001shortlog\u548c\u5176\u4ed6\u5b50\u547d\u4ee4\u90fd\u662f\u5982\u6b64\u3002\u5ba1\u67e5\u522b\u4eba\u7684\u63d0\u4ea4\u548c\u62c9\u52a8\u8bf7\u6c42\u6210\u4e3a\u503c\u5f97\u505a\u7684\u4e8b\u60c5\uff0c\u800c\u4e14\u7a81\u7136\u53ef\u4ee5\u72ec\u7acb\u5b8c\u6210\u3002\u4e86\u89e3\u51e0\u4e2a\u6708\u6216\u51e0\u5e74\u524d\u53d1\u751f\u7684\u4e8b\u60c5\u7684\u539f\u56e0\u4e0d\u4ec5\u662f\u53ef\u80fd\u7684\uff0c\u800c\u4e14\u662f\u6709\u6548\u7684\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u4e2a\u9879\u76ee\u7684\u957f\u671f\u6210\u529f\u53d6\u51b3\u4e8e\u5b83\u7684\u53ef\u7ef4\u62a4\u6027\uff0c\u800c\u7ef4\u62a4\u8005\u6ca1\u6709\u4ec0\u4e48\u5de5\u5177\u6bd4\u4ed6\u7684\u9879\u76ee\u65e5\u5fd7\u66f4\u5f3a\u5927\u3002\u503c\u5f97\u82b1\u65f6\u95f4\u53bb\u5b66\u4e60\u5982\u4f55\u6b63\u786e\u5730\u7ef4\u62a4\u5b83\u3002\u4e00\u5f00\u59cb\u53ef\u80fd\u4f1a\u5f88\u9ebb\u70e6\uff0c\u4f46\u5f88\u5feb\u5c31\u4f1a\u6210\u4e3a\u4e60\u60ef\uff0c\u5e76\u6700\u7ec8\u6210\u4e3a\u6240\u6709\u53c2\u4e0e\u8005\u7684\u9a84\u50b2\u548c\u751f\u4ea7\u529b\u7684\u6765\u6e90\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u53ea\u8ba8\u8bba\u4e86\u4fdd\u6301\u5065\u5eb7\u7684\u63d0\u4ea4\u5386\u53f2\u7684\u6700\u57fa\u672c\u8981\u7d20\uff1a\u5982\u4f55\u7f16\u5199\u4e2a\u4eba\u63d0\u4ea4\u4fe1\u606f\u3002\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u91cd\u8981\u7684\u505a\u6cd5\uff0c\u6bd4\u5982\u63d0\u4ea4\u538b\u5236\uff0c\u6211\u5728\u8fd9\u91cc\u5c31\u4e0d\u8c08\u4e86\u3002\u4e5f\u8bb8\u6211\u4f1a\u5728\u4ee5\u540e\u7684\u6587\u7ae0\u4e2d\u8ba8\u8bba\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u5927\u591a\u6570\u7f16\u7a0b\u8bed\u8a00\u5bf9\u4e8e\u4ec0\u4e48\u662f\u4e60\u60ef\u6027\u98ce\u683c\uff0c\u5373\u547d\u540d\u3001\u683c\u5f0f\u7b49\u7b49\uff0c\u90fd\u6709\u65e2\u5b9a\u7684\u7ea6\u5b9a\u3002\u5f53\u7136\uff0c\u8fd9\u4e9b\u60ef\u4f8b\u4e5f\u6709\u53d8\u5316\uff0c\u4f46\u5927\u591a\u6570\u5f00\u53d1\u8005\u90fd\u540c\u610f\uff0c\u9009\u62e9\u4e00\u4e2a\u60ef\u4f8b\u5e76\u575a\u6301\u4e0b\u53bb\uff0c\u8981\u6bd4\u6bcf\u4e2a\u4eba\u90fd\u505a\u81ea\u5df1\u7684\u4e8b\u60c5\u65f6\u4ea7\u751f\u7684\u6df7\u4e71\u597d\u5f97\u591a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u4e00\u4e2a\u56e2\u961f\u5bf9\u5176\u63d0\u4ea4\u65e5\u5fd7\u7684\u5904\u7406\u65b9\u5f0f\u4e5f\u5e94\u8be5\u5982\u6b64\u3002\u4e3a\u4e86\u521b\u5efa\u4e00\u4e2a\u6709\u7528\u7684\u4fee\u8ba2\u5386\u53f2\uff0c\u56e2\u961f\u5e94\u8be5\u9996\u5148\u5546\u5b9a\u4e00\u4e2a\u63d0\u4ea4\u4fe1\u606f\u7684\u60ef\u4f8b\uff0c\u81f3\u5c11\u8981\u5b9a\u4e49\u4ee5\u4e0b\u4e09\u70b9\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u98ce\u683c\uff0c\u6807\u8bb0\u8bed\u6cd5\u3001\u5305\u8fb9\u3001\u8bed\u6cd5\u3001\u5927\u5c0f\u5199\u3001\u6807\u70b9\u7b26\u53f7\u3002\u628a\u8fd9\u4e9b\u4e1c\u897f\u5199\u51fa\u6765\uff0c\u6d88\u9664\u731c\u6d4b\uff0c\u5e76\u4f7f\u4e4b\u5c3d\u53ef\u80fd\u7684\u7b80\u5355\u3002\u6700\u7ec8\u7684\u7ed3\u679c\u5c06\u662f\u4e00\u4e2a\u975e\u5e38\u4e00\u81f4\u7684\u65e5\u5fd7\uff0c\u5b83\u4e0d\u4ec5\u662f\u4e00\u4e2a\u9605\u8bfb\u7684\u4e50\u8da3\uff0c\u800c\u4e14\u5b9e\u9645\u4e0a\u7ecf\u5e38\u88ab\u9605\u8bfb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u5185\u5bb9\uff0c\u63d0\u4ea4\u4fe1\u606f\u7684\u6b63\u6587\uff08\u5982\u679c\u6709\u7684\u8bdd\uff09\u5e94\u8be5\u5305\u542b\u4ec0\u4e48\u6837\u7684\u4fe1\u606f\uff1f\u4e0d\u5e94\u8be5\u5305\u542b\u54ea\u4e9b\u5185\u5bb9\uff1f<br>\u5143\u6570\u636e\u3002\u5e94\u8be5\u5982\u4f55\u5f15\u7528\u95ee\u9898\u8ffd\u8e2aID\u3001\u62c9\u52a8\u8bf7\u6c42\u7f16\u53f7\u7b49\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u5e78\u8fd0\u7684\u662f\uff0c\u5bf9\u4e8e\u600e\u6837\u624d\u80fd\u6210\u4e3a\u4e00\u6761\u89c4\u8303\u7684 Git \u63d0\u4ea4\u4fe1\u606f\uff0c\u5df2\u7ecf\u6709\u4e86\u6210\u719f\u7684\u7ea6\u5b9a\u3002\u4e8b\u5b9e\u4e0a\uff0c\u5176\u4e2d\u5f88\u591a\u90fd\u662f\u5728\u67d0\u4e9bGit\u547d\u4ee4\u7684\u8fd0\u4f5c\u65b9\u5f0f\u4e2d\u5047\u5b9a\u7684\u3002\u4f60\u4e0d\u9700\u8981\u91cd\u65b0\u53d1\u660e\u4ec0\u4e48\u3002\u53ea\u8981\u6309\u7167\u4e0b\u9762\u7684\u65b9\u6cd5\uff0c\u4f60\u5c31\u80fd\u50cf\u4e13\u5bb6\u4e00\u6837\u63d0\u4ea4\u4e86\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f18\u79c0\u7684Git\u63d0\u4ea4\u4fe1\u606f\u7684\u4e03\u4e2a\u89c4\u5219<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u7262\u8bb0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u7528\u5927\u7ea650\u4e2a\u5b57\u7b26\u6216\u66f4\u5c11\u7684\u6587\u5b57\u6765\u6982\u62ec\u53d8\u5316<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u5982\u6709\u5fc5\u8981\uff0c\u63d0\u4f9b\u66f4\u8be6\u7ec6\u7684\u89e3\u91ca\u6587\u5b57\u3002\u628a\u5b83\u5305\u8d77\u6765\uff0c\u5927\u7ea672<\/code>\u4e2a<code>\u5b57\u7b26\u5de6\u53f3\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u7b2c\u4e00\u884c\u88ab\u89c6\u4e3a<\/code><br><code>\u7684\u4e3b\u9898\uff0c\u5176\u4f59\u90e8\u5206\u4f5c\u4e3a\u6b63\u6587\u3002\u6458\u8981\u548c\u6b63\u6587\u4e4b\u95f4\u7684\u6458\u8981\u548c\u6b63\u6587\u4e4b\u95f4\u7684\u7a7a\u884c\u662f\u975e\u5e38\u91cd\u8981\u7684\uff08\u9664\u975e\u4f60\u5b8c\u5168\u7701\u7565\u6b63\u6587\uff09\u3002<\/code><br><code>\u9664\u975e\u4f60\u5b8c\u5168\u7701\u7565\u6b63\u6587\uff09\uff1b\u5404\u79cd\u5de5\u5177\uff0c\u5982`log`\u3001`shortlog`\u3001`rebase`\u7b49\uff0c\u90fd\u4f1a\u5728\u63d0\u4ea4\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u95ee\u9898\u3002<\/code><br><code>\u548c \"rebase \"\u7b49\u5404\u79cd\u5de5\u5177\uff0c\u5982\u679c\u4f60\u628a\u8fd9\u4e24\u8005\u653e\u5728\u4e00\u8d77\u8fd0\u884c\uff0c\u5c31\u4f1a\u4ea7\u751f\u6df7\u6dc6\u3002<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u89e3\u91ca\u8fd9\u6b21\u63d0\u4ea4\u6240\u8981\u89e3\u51b3\u7684\u95ee\u9898\u3002\u91cd\u70b9\u662f\u4e3a\u4ec0\u4e48<\/code><br><code>\u800c\u4e0d\u662f\u5982\u4f55\u6539\u53d8\uff08\u4ee3\u7801\u4f1a\u89e3\u91ca\uff09\u3002<\/code><br><code>\u8fd9\u4e2a\u6539\u52a8\u662f\u5426\u6709\u526f\u4f5c\u7528\u6216\u5176\u4ed6\u4e0d\u76f4\u89c2\u7684\u540e\u679c\uff1f<\/code><br><code>\u7684\u526f\u4f5c\u7528\u6216\u5176\u4ed6\u4e0d\u76f4\u89c2\u7684\u540e\u679c\uff1f\u8fd9\u91cc\u5c31\u53ef\u4ee5\u89e3\u91ca\u4e86\u3002<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u7a7a\u884c\u4e4b\u540e\u662f\u8fdb\u4e00\u6b65\u7684\u6bb5\u843d\u3002<br><br>- \u5b50\u5f39\u5934\u4e5f\u662f\u53ef\u4ee5\u7684<br><br>- \u5178\u578b\u7684\u505a\u6cd5\u662f\u7528\u8fde\u5b57\u7b26\u6216\u661f\u53f7\u6765\u8868\u793a\u9879\u76ee\uff0c\u524d\u9762\u662f\u4e00\u4e2a\u7a7a\u683c\u3002<br>\u524d\u9762\u6709\u4e00\u4e2a\u7a7a\u683c\uff0c\u4e2d\u95f4\u6709\u7a7a\u884c\uff0c\u4f46\u60ef\u4f8b\u662f<br>\u5728\u6b64\u6709\u6240\u4e0d\u540c<br><br>\u5982\u679c\u4f60\u4f7f\u7528\u4e00\u4e2a\u95ee\u9898\u8ddf\u8e2a\u5668\uff0c\u628a\u5bf9\u5b83\u4eec\u7684\u5f15\u7528\u653e\u5728\u5e95\u90e8\u3002<br>\u50cf\u8fd9\u6837<\/code>\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Resolves: #123<\/code><br><code>See also: #456, #789<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7528\u7a7a\u884c\u5c06\u4e3b\u4f53\u4e0e\u6b63\u6587\u5206\u5f00<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u867d\u7136\u4e0d\u662f\u5fc5\u987b\u7684\uff0c\u4f46\u5728\u63d0\u4ea4\u4fe1\u606f\u7684\u5f00\u5934\uff0c\u6700\u597d\u7528\u4e00\u884c\u7b80\u77ed\u7684\uff08\u5c11\u4e8e50\u4e2a\u5b57\u7b26\uff09\u6765\u6982\u8ff0\u8be5\u4fee\u6539\uff0c\u7136\u540e\u662f\u7a7a\u767d\u884c\uff0c\u518d\u6765\u4e00\u4e2a\u66f4\u8be6\u5c3d\u7684\u63cf\u8ff0\u3002\u63d0\u4ea4\u4fe1\u606f\u4e2d\u7b2c\u4e00\u4e2a\u7a7a\u884c\u4e4b\u524d\u7684\u6587\u5b57\u88ab\u89c6\u4e3a\u63d0\u4ea4\u6807\u9898\uff0c\u8be5\u6807\u9898\u5c06\u5728\u6574\u4e2a Git \u4e2d\u4f7f\u7528\u3002\u4f8b\u5982\uff0cGit-format-patch(1)\u628a\u63d0\u4ea4\u53d8\u6210\u4e86\u7535\u5b50\u90ae\u4ef6\uff0c\u5b83\u5728\u4e3b\u9898\u884c\u4f7f\u7528\u6807\u9898\uff0c\u5728\u6b63\u6587\u4e2d\u4f7f\u7528\u63d0\u4ea4\u7684\u5176\u4ed6\u5185\u5bb9\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\uff0c\u4e0d\u662f\u6bcf\u4e2a\u63d0\u4ea4\u90fd\u9700\u8981\u4e3b\u9898\u548c\u6b63\u6587\u3002\u6709\u65f6\u53ea\u9700\u4e00\u884c\u5c31\u53ef\u4ee5\u4e86\uff0c\u7279\u522b\u662f\u5f53\u53d8\u5316\u975e\u5e38\u7b80\u5355\uff0c\u4e0d\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u4e0a\u4e0b\u6587\u3002\u6bd4\u5982\u8bf4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4fee\u6b63\u7528\u6237\u6307\u5357\u4ecb\u7ecd\u4e2d\u7684\u9519\u522b\u5b57<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ca1\u6709\u4ec0\u4e48\u597d\u8bf4\u7684\u4e86\uff1b\u5982\u679c\u8bfb\u8005\u60f3\u77e5\u9053\u662f\u4ec0\u4e48\u9519\u5b57\uff0c\u5979\u53ef\u4ee5\u76f4\u63a5\u770b\u4e00\u4e0b\u4fee\u6539\u672c\u8eab\uff0c\u5373\u7528git show\u6216git diff\u6216git log -p\u3002<br>\u5982\u679c\u60a8\u5728\u547d\u4ee4\u884c\u4e0a\u63d0\u4ea4\u8fd9\u6837\u7684\u4e1c\u897f\uff0c\u5f88\u5bb9\u6613\u4f7f\u7528git commit\u7684-m\u9009\u9879\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git commit -m\"F\u4fee\u6b63\u7528\u6237\u6307\u5357\u4ecb\u7ecd\u4e2d\u7684\u9519\u522b\u5b57\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u800c\uff0c\u5f53\u4e00\u4e2a\u63d0\u4ea4\u9700\u8981\u89e3\u91ca\u548c\u8bf4\u660e\u65f6\uff0c\u4f60\u9700\u8981\u5199\u4e00\u4e2a\u6b63\u6587\u3002\u6bd4\u5982\u8bf4\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4e3b\u63a7\u5236\u7a0b\u5e8fDerezz\n\n\u8fd9\u4e2a\u627f\u8bfa\u5c06Tron\u7684\u5149\u76d8\u6254\u8fdb\u4e86MCP\uff08\u5bfc\u81f4\u5176\u89e3\u4f53\uff09\u3002\n\u5e76\u628a\u5b83\u91cd\u65b0\u53d8\u6210\u4e00\u4e2a\u68cb\u5c40\u3002<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7528-m\u9009\u9879\u5199\u5e26\u6b63\u6587\u7684\u63d0\u4ea4\u4fe1\u606f\u5e76\u4e0d\u90a3\u4e48\u5bb9\u6613\u3002\u4f60\u6700\u597d\u7528\u4e00\u4e2a\u5408\u9002\u7684\u6587\u672c\u7f16\u8f91\u5668\u6765\u5199\u4fe1\u606f\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u5728\u547d\u4ee4\u884c\u4e0a\u4e3a Git \u8bbe\u7f6e\u7f16\u8f91\u5668\uff0c\u8bf7\u9605\u8bfb Pro Git\u7684\u8fd9\u4e00\u90e8\u5206\u3002<br>\u65e0\u8bba\u5982\u4f55\uff0c\u5728\u6d4f\u89c8\u65e5\u5fd7\u65f6\uff0c\u5c06\u4e3b\u9898\u548c\u6b63\u6587\u5206\u5f00\u662f\u6709\u597d\u5904\u7684\u3002\u4e0b\u9762\u662f\u5b8c\u6574\u7684\u65e5\u5fd7\u6761\u76ee\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git log\ncommit 42e769bdf4894310333942ffc5a15151222a87be\nAuthor: Kevin Flynn &lt;kevin@flynnsarcade.com>\nDate:   Fri Jan 01 00:00:00 1982 -0200\n  \u4e3b\u63a7\u5236\u7a0b\u5e8fDerezz\n\n \u8fd9\u4e2a\u627f\u8bfa\u5c06Tron\u7684\u5149\u76d8\u6254\u8fdb\u4e86MCP\uff08\u5bfc\u81f4\u5176\u89e3\u4f53\uff09\u3002\n \u5e76\u628a\u5b83\u91cd\u65b0\u53d8\u6210\u4e00\u4e2a\u68cb\u5c40\u3002<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u800c\u73b0\u5728git log &#8211;oneline\uff0c\u53ea\u6253\u5370\u51fa\u4e3b\u9898\u884c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git log --oneline\n42e769 Derezz the master control program\n42e769 Derezz\u7684\u4e3b\u63a7\u7a0b\u5e8f<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6216\u8005\uff0cgit shortlog\uff0c\u5b83\u6309\u7528\u6237\u5206\u7ec4\u63d0\u4ea4\uff0c\u540c\u6837\u53ea\u663e\u793a\u4e3b\u9898\u884c\uff0c\u4ee5\u8fbe\u5230\u7b80\u6d01\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git shortlog\nKevin Flynn (1):\n      Derezz\u7684\u4e3b\u63a7\u7a0b\u5e8f\n\nAlan Bradley (1):\n       \u5f15\u5165\u5b89\u5168\u7a0b\u5e8f \"Tron\"\n\nEd Dillinger (3):\n      \u5c06\u56fd\u9645\u8c61\u68cb\u7a0b\u5e8f\u66f4\u540d\u4e3a \"MCP\"\n      \u4fee\u6539\u56fd\u9645\u8c61\u68cb\u7a0b\u5e8f\n      \u5347\u7ea7\u56fd\u9645\u8c61\u68cb\u7a0b\u5e8f\n\nWalter Gibbs (1):\n     \u4ecb\u7ecd\u539f\u7248\u7684\u56fd\u9645\u8c61\u68cb\u7a0b\u5e8f<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728Git\u4e2d\uff0c\u8fd8\u6709\u8bb8\u591a\u5176\u4ed6\u60c5\u51b5\u4e0b\uff0c\u4e3b\u9898\u884c\u548c\u6b63\u6587\u4e4b\u95f4\u7684\u533a\u522b\u5f00\u59cb\u53d1\u6325\u4f5c\u7528\uff0c\u4f46\u5982\u679c\u6ca1\u6709\u4e2d\u95f4\u7684\u7a7a\u884c\uff0c\u5b83\u4eec\u90fd\u4e0d\u80fd\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5c06\u4e3b\u9898\u884c\u9650\u5236\u572850\u4e2a\u5b57\u7b26\u4ee5\u5185<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">50\u4e2a\u5b57\u7b26\u4e0d\u662f\u4e00\u4e2a\u786c\u6027\u9650\u5236\uff0c\u53ea\u662f\u4e00\u4e2a\u7ecf\u9a8c\u6cd5\u5219\u3002\u5c06\u4e3b\u9898\u884c\u4fdd\u6301\u5728\u8fd9\u4e2a\u957f\u5ea6\uff0c\u53ef\u4ee5\u786e\u4fdd\u5b83\u4eec\u7684\u53ef\u8bfb\u6027\uff0c\u5e76\u8feb\u4f7f\u4f5c\u8005\u601d\u8003\u4e00\u4e0b\u7528\u6700\u7b80\u6d01\u7684\u65b9\u5f0f\u6765\u89e3\u91ca\u53d1\u751f\u4e86\u4ec0\u4e48\u4e8b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u63d0\u793a\uff1a\u5982\u679c\u4f60\u5f88\u96be\u8fdb\u884c\u603b\u7ed3\uff0c\u4f60\u53ef\u80fd\u4e00\u6b21\u63d0\u4ea4\u4e86\u592a\u591a\u7684\u4fee\u6539\u3002\u4e89\u53d6\u5b9e\u73b0\u539f\u5b50\u63d0\u4ea4\uff08\u8fd9\u662f\u4e00\u4e2a\u5355\u72ec\u7684\u5e16\u5b50\u7684\u4e3b\u9898\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GitHub\u7684\u7528\u6237\u754c\u9762\u5b8c\u5168\u4e86\u89e3\u8fd9\u4e9b\u60ef\u4f8b\u3002\u5982\u679c\u4f60\u8d85\u8fc7\u4e8650\u4e2a\u5b57\u7b26\u7684\u9650\u5236\uff0c\u5b83\u5c31\u4f1a\u8b66\u544a\u4f60\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"216\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-50-1024x216.png\" alt=\"\" class=\"wp-image-622\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-50-1024x216.png 1024w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-50-300x63.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-50-768x162.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-50-535x113.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-50-900x189.png 900w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-50-500x105.png 500w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-50.png 1520w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5e76\u4f1a\u7528\u7701\u7565\u53f7\u622a\u65ad\u4efb\u4f55\u8d85\u8fc772\u4e2a\u5b57\u7b26\u7684\u4e3b\u9898\u884c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"136\" src=\"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/04\/image-52-1024x136.png\" alt=\"\" class=\"wp-image-624\" srcset=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-52-1024x136.png 1024w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-52-300x40.png 300w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-52-768x102.png 768w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-52-535x71.png 535w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-52-900x119.png 900w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-52-500x66.png 500w, https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/image-52.png 1522w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\uff0c\u4e89\u53d6\u63a7\u5236\u572850\u4e2a\u5b57\u7b26\u4ee5\u5185\uff0c\u4f46\u8981\u8003\u8651\u523072\u4e2a\u662f\u786c\u6027\u9650\u5236\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5728\u4e3b\u9898\u680f\u4e2d\u4f7f\u7528\u5927\u5199\u5b57\u6bcd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u548c\u5b83\u542c\u8d77\u6765\u4e00\u6837\u7b80\u5355\u3002\u6240\u6709\u4e3b\u9898\u884c\u90fd\u4ee5\u5927\u5199\u5b57\u6bcd\u5f00\u5934\u3002<br>\u6bd4\u5982\u8bf4\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Accelerate to 88 miles per hour<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of:<br>\u800c\u4e0d\u662f:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><s>accelerate to 88 miles per hour<\/s><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e0d\u8981\u4ee5\u53e5\u53f7\u7ed3\u675f\u4e3b\u9898\u884c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u4e3b\u9898\u884c\u4e2d\uff0c\u5c3e\u90e8\u6807\u70b9\u7b26\u53f7\u662f\u4e0d\u5fc5\u8981\u7684\u3002\u6b64\u5916\uff0c\u5f53\u4f60\u8bd5\u56fe\u628a\u5b83\u4eec\u4fdd\u6301\u572850\u4e2a\u5b57\u7b26\u6216\u66f4\u5c11\u65f6\uff0c\u7a7a\u95f4\u662f\u5f88\u5b9d\u8d35\u7684\u3002<br>\u4f8b\u5b50\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Open the pod bay doors<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of:<br>\u800c\u4e0d\u662f:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><s>Open the pod bay doors.<\/s><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u5728\u4e3b\u9898\u884c\u4e2d\u4f7f\u7528\u7948\u4f7f\u8bed\u6c14<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u7948\u4f7f\u8bed\u6c14\u53ea\u662f\u610f\u5473\u7740 &#8220;\u50cf\u53d1\u51fa\u547d\u4ee4\u6216\u6307\u4ee4\u4e00\u6837\u8bf4\u6216\u5199&#8221;\u3002\u4e3e\u51e0\u4e2a\u4f8b\u5b50\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><em>\u6253\u626b\u4f60\u7684\u623f\u95f4<\/em><\/li><li>\u5173\u597d\u95e8<\/li><li>*\u628a\u5783\u573e\u5012\u6389<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f60\u73b0\u5728\u8bfb\u5230\u7684\u4e03\u6761\u89c4\u5219\u4e2d\u7684\u6bcf\u4e00\u6761\u90fd\u662f\u7528\u547d\u4ee4\u5f0f\u5199\u7684\uff08&#8221;\u572872\u4e2a\u5b57\u7b26\u5904\u5305\u4f4f\u8eab\u4f53&#8221;\uff0c\u7b49\u7b49\uff09\u3002<br>\u547d\u4ee4\u5f0f\u542c\u8d77\u6765\u6709\u70b9\u7c97\u9c81\uff1b\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u6211\u4eec\u4e0d\u7ecf\u5e38\u4f7f\u7528\u5b83\u3002\u4f46\u5b83\u5f88\u9002\u5408\u7528\u4e8eGit\u63d0\u4ea4\u7684\u4e3b\u9898\u884c\u3002\u5176\u4e2d\u4e00\u4e2a\u539f\u56e0\u662f\uff0c\u5f53Git\u4ee3\u8868\u4f60\u521b\u5efa\u4e00\u4e2a\u63d0\u4ea4\u65f6\uff0c\u5b83\u672c\u8eab\u5c31\u4f1a\u4f7f\u7528\u8be5\u547d\u4ee4\u3002<br>\u4f8b\u5982\uff0c\u4f7f\u7528git merge\u65f6\u521b\u5efa\u7684\u9ed8\u8ba4\u4fe1\u606f\u662f\u8fd9\u6837\u7684<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Merge branch 'myfeature'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u800c\u5728\u4f7f\u7528git revert\u65f6\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Revert \"Add the thing with the stuff\"\n\nThis reverts commit cc87791524aedd593cff5a74532befe7ab69ce9d.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6216\u8005\u5728\u70b9\u51fbGitHub\u62c9\u52a8\u8bf7\u6c42\u7684 &#8220;\u5408\u5e76 &#8220;\u6309\u94ae\u65f6\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Merge pull request #123 from someuser\/somebranch<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64\uff0c\u5f53\u4f60\u5728\u547d\u4ee4\u5f0f\u4e2d\u5199\u4f60\u7684\u63d0\u4ea4\u4fe1\u606f\u65f6\uff0c\u4f60\u662f\u5728\u9075\u5faaGit\u81ea\u5df1\u7684\u5185\u7f6e\u60ef\u4f8b\u3002\u6bd4\u5982\u8bf4<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u91cd\u6784\u5b50\u7cfb\u7edfX\u7684\u53ef\u8bfb\u6027<\/li><li>\u66f4\u65b0\u5165\u95e8\u6587\u6863<\/li><li>\u5220\u9664\u5e9f\u5f03\u7684\u65b9\u6cd5<\/li><li>\u53d1\u5e031.0.0\u7248\u672c<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6837\u5199\u4e00\u5f00\u59cb\u53ef\u80fd\u4f1a\u6709\u70b9\u5c34\u5c2c\u3002\u6211\u4eec\u66f4\u4e60\u60ef\u4e8e\u7528\u6307\u793a\u6027\u8bed\u6c14\u8bf4\u8bdd\uff0c\u90a3\u662f\u5173\u4e8e\u62a5\u544a\u4e8b\u5b9e\u7684\u3002\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u63d0\u4ea4\u7684\u4fe1\u606f\u6700\u540e\u5f80\u5f80\u662f\u8fd9\u6837\u8bfb\u7684\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><s>Fixed bug with Y<\/s><\/li><li><s>Changing behavior of X<\/s><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u800c\u6709\u65f6\u63d0\u4ea4\u7684\u4fe1\u606f\u4f1a\u88ab\u5199\u6210\u5bf9\u5176\u5185\u5bb9\u7684\u63cf\u8ff0\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><s>More fixes for broken stuff<\/s><\/li><li><s>Sweet new API methods<\/s><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u6d88\u9664\u4efb\u4f55\u7591\u60d1\uff0c\u8fd9\u91cc\u6709\u4e00\u4e2a\u7b80\u5355\u7684\u89c4\u5219\uff0c\u53ef\u4ee5\u8ba9\u4f60\u6bcf\u6b21\u90fd\u505a\u5f97\u5f88\u597d\u3002<br>\u4e00\u4e2a\u6b63\u786e\u7684 Git \u63d0\u4ea4\u4e3b\u9898\u884c\u5e94\u8be5\u603b\u662f\u80fd\u591f\u5b8c\u6210\u4ee5\u4e0b\u53e5\u5b50\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If applied, this commit will <em>your subject line here<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bd4\u5982\u8bf4:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5982\u679c\u5e94\u7528\uff0c\u6b64\u63d0\u4ea4\u5c06\u91cd\u6784\u5b50\u7cfb\u7edfX\u4ee5\u63d0\u9ad8\u53ef\u8bfb\u6027\u3002<\/li><li>\u5982\u679c\u5e94\u7528\uff0c\u6b64\u63d0\u4ea4\u5c06\u66f4\u65b0\u5165\u95e8\u6587\u6863<\/li><li>\u5982\u679c\u5e94\u7528\uff0c\u6b64\u63d0\u4ea4\u5c06\u5220\u9664\u5e9f\u5f03\u7684\u65b9\u6cd5<\/li><li>\u5982\u679c\u5e94\u7528\uff0c\u6b64\u63d0\u4ea4\u5c06\u53d1\u5e03 1.0.0 \u7248\u672c\u3002<\/li><li>\u5982\u679c\u5e94\u7528\uff0c\u6b64\u63d0\u4ea4\u5c06\u5408\u5e76\u6765\u81ea\u7528\u6237\/\u5206\u652f\u7684 #123 \u62c9\u52a8\u8bf7\u6c42\u3002<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u6ce8\u610f\uff0c\u8fd9\u5bf9\u5176\u4ed6\u975eimperative\u5f62\u5f0f\u662f\u4e0d\u8d77\u4f5c\u7528\u7684\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5982\u679c\u5e94\u7528\uff0c\u6b64\u63d0\u4ea4\u5c06\u4fee\u590dY\u7684\u9519\u8bef\u3002<\/li><li>\u5982\u679c\u5e94\u7528\u7684\u8bdd\uff0c\u6b64\u63d0\u4ea4\u5c06\u6539\u53d8 X \u7684\u884c\u4e3a\u3002<\/li><li>\u5982\u679c\u5e94\u7528\uff0c\u6b64\u63d0\u4ea4\u5c06\u4fee\u590d\u66f4\u591a\u7834\u635f\u7684\u4e1c\u897f<\/li><li>\u5982\u679c\u5e94\u7528\u7684\u8bdd\uff0c\u6b64\u63d0\u4ea4\u5c06\u63d0\u4f9b\u65b0\u7684API\u65b9\u6cd5\u3002<\/li><li><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u8bb0\u4f4f\u3002\u7948\u4f7f\u53e5\u7684\u4f7f\u7528\u53ea\u5728\u4e3b\u9898\u884c\u4e2d\u5f88\u91cd\u8981\u3002\u5728\u5199\u6b63\u6587\u65f6\uff0c\u4f60\u53ef\u4ee5\u653e\u677e\u8fd9\u4e00\u9650\u5236\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u572872\u4e2a\u5b57\u7b26\u5904\u5305\u4f4f\u6587\u672c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Git\u4ece\u4e0d\u81ea\u52a8\u5305\u88c5\u6587\u672c\u3002\u5f53\u4f60\u5199\u63d0\u4ea4\u4fe1\u606f\u7684\u6b63\u6587\u65f6\uff0c\u4f60\u5fc5\u987b\u6ce8\u610f\u5b83\u7684\u53f3\u8fb9\u8ddd\uff0c\u5e76\u624b\u52a8\u5305\u88c5\u6587\u672c\u3002<br>\u5efa\u8bae\u572872\u4e2a\u5b57\u7b26\u65f6\u8fdb\u884c\uff0c\u8fd9\u6837Git\u5c31\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u6765\u7f29\u8fdb\u6587\u672c\uff0c\u540c\u65f6\u8fd8\u80fd\u5c06\u6240\u6709\u5185\u5bb9\u4fdd\u6301\u572880\u4e2a\u5b57\u7b26\u4ee5\u5185\u3002<br>\u4e00\u4e2a\u597d\u7684\u6587\u672c\u7f16\u8f91\u5668\u53ef\u4ee5\u5e2e\u5230\u4f60\u3002\u4f8b\u5982\uff0c\u914d\u7f6e Vim \u5f88\u5bb9\u6613\uff0c\u5f53\u4f60\u5199\u4e00\u4e2a Git \u63d0\u4ea4\u65f6\uff0c\u5b83\u53ef\u4ee5\u5c06\u6587\u672c\u5305\u5728 72 \u4e2a\u5b57\u7b26\u5185\u3002\u7136\u800c\uff0c\u4f20\u7edf\u4e0a\uff0cIDE\u5728\u4e3a\u63d0\u4ea4\u4fe1\u606f\u63d0\u4f9b\u667a\u80fd\u652f\u6301\u65b9\u9762\u4e00\u76f4\u5f88\u7cdf\u7cd5\uff08\u5c3d\u7ba1\u5728\u6700\u8fd1\u7684\u7248\u672c\u4e2d\uff0cIntelliJ IDEA\u5728\u8fd9\u65b9\u9762\u7ec8\u4e8e\u53d8\u5f97\u66f4\u597d\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f7f\u7528\u6b63\u6587\u6765\u89e3\u91ca\u4ec0\u4e48\u548c\u4e3a\u4ec0\u4e48\u4e0e\u5982\u4f55\u3002<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a\u6765\u81eaBitcoin Core\u7684\u63d0\u4ea4\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u4f8b\u5b50\uff0c\u89e3\u91ca\u4e86\u4ec0\u4e48\u53d8\u5316\u548c\u539f\u56e0\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>commit eb0b56b19017ab5c16c745e6da39c53126924ed6\nAuthor: Pieter Wuille &lt;pieter.wuille@gmail.com&gt;\nDate:   Fri Aug 1 22:57:55 2014 +0200\n\n   Simplify serialize.h's exception handling\n\n   Remove the 'state' and 'exceptmask' from serialize.h's stream\n   implementations, as well as related methods.\n\n   As exceptmask always included 'failbit', and setstate was always\n   called with bits = failbit, all it did was immediately raise an\n   exception. Get rid of those variables, and replace the setstate\n   with direct exception throwing (which also removes some dead\n   code).\n\n   As a result, good() is never reached after a failure (there are\n   only 2 calls, one of which is in tests), and can just be replaced\n   by !eof().\n\n   fail(), clear(n) and exceptions() are just never called. Delete\n   them.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u770b\u770b\u5b8c\u6574\u7684\u5dee\u5f02\uff0c\u60f3\u60f3\u4f5c\u8005\u82b1\u65f6\u95f4\u5728\u8fd9\u91cc\u63d0\u4f9b\u8fd9\u4e2a\u80cc\u666f\uff0c\u4e3a\u540c\u4f34\u548c\u672a\u6765\u7684\u63d0\u4ea4\u8005\u8282\u7701\u4e86\u591a\u5c11\u65f6\u95f4\u3002\u5982\u679c\u4ed6\u4e0d\u8fd9\u6837\u505a\uff0c\u53ef\u80fd\u5c31\u4f1a\u6c38\u8fdc\u6d88\u5931\u3002<br>\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u4ee5\u4e0d\u5199\u5173\u4e8e\u5982\u4f55\u8fdb\u884c\u4fee\u6539\u7684\u7ec6\u8282\u3002\u4ee3\u7801\u5728\u8fd9\u65b9\u9762\u901a\u5e38\u662f\u4e0d\u8a00\u81ea\u660e\u7684\uff08\u5982\u679c\u4ee3\u7801\u975e\u5e38\u590d\u6742\uff0c\u9700\u8981\u7528\u6563\u6587\u6765\u89e3\u91ca\uff0c\u90a3\u5c31\u662f\u6e90\u4ee3\u7801\u6ce8\u91ca\u7684\u4f5c\u7528\uff09\u3002\u4f60\u53ea\u9700\u4e13\u6ce8\u4e8e\u6e05\u695a\u5730\u8bf4\u660e\u4f60\u9996\u5148\u505a\u51fa\u4fee\u6539\u7684\u539f\u56e0\u2014\u4fee\u6539\u524d\u7684\u5de5\u4f5c\u65b9\u5f0f\uff08\u4ee5\u53ca\u5176\u4e2d\u7684\u95ee\u9898\uff09\uff0c\u73b0\u5728\u7684\u5de5\u4f5c\u65b9\u5f0f\uff0c\u4ee5\u53ca\u4f60\u4e3a\u4ec0\u4e48\u51b3\u5b9a\u4ee5\u8fd9\u6837\u7684\u65b9\u5f0f\u6765\u89e3\u51b3\u5b83\u3002<br>\u672a\u6765\u611f\u8c22\u4f60\u7684\u7ef4\u62a4\u8005\u53ef\u80fd\u5c31\u662f\u4f60\u81ea\u5df1\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5c0f\u8d34\u58eb<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b66\u4f1a\u70ed\u7231\u547d\u4ee4\u884c\u3002\u628aIDE\u629b\u5728\u8111\u540e<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u67d0\u4e9b\u4e0eGit\u76f8\u5173\u7684IDE\u529f\u80fd\u662f\u975e\u5e38\u5b9d\u8d35\u7684\uff0c\u6bd4\u5982\u5f53\u4f60\u5220\u9664\u4e00\u4e2a\u6587\u4ef6\u65f6\u8c03\u7528git rm\uff0c\u5f53\u4f60\u91cd\u547d\u540d\u4e00\u4e2a\u6587\u4ef6\u65f6\u7528git\u505a\u6b63\u786e\u7684\u4e8b\u60c5\u3002\u5f53\u4f60\u5f00\u59cb\u5c1d\u8bd5\u901a\u8fc7IDE\u63d0\u4ea4\u3001\u5408\u5e76\u3001\u91cd\u5b9a\u4f4d\u6216\u505a\u590d\u6742\u7684\u5386\u53f2\u5206\u6790\u65f6\uff0c\u4e00\u5207\u90fd\u4f1a\u5d29\u6e83\u3002<br>\u8981\u60f3\u5145\u5206\u53d1\u6325 Git \u7684\u5a01\u529b\uff0c\u5c31\u5f97\u7528\u547d\u4ee4\u884c\u3002<br>\u8bb0\u4f4f\uff0c\u65e0\u8bba\u4f60\u4f7f\u7528Bash\u3001Zsh\u8fd8\u662fPowershell\uff0c\u90fd\u6709\u6807\u7b7e\u5b8c\u6210\u811a\u672c\uff0c\u53ef\u4ee5\u51cf\u8f7b\u8bb0\u5fc6\u5b50\u547d\u4ee4\u548c\u5f00\u5173\u7684\u75db\u82e6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002<\/p>\n","protected":false},"author":2,"featured_media":627,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[13,12],"tags":[],"class_list":["post-621","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-13","category-12","col-md-12"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f - WITE<\/title>\n<meta name=\"description\" content=\"\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wite.oxoooo.com\/?p=621\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f - WITE\" \/>\n<meta property=\"og:description\" content=\"\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wite.oxoooo.com\/?p=621\" \/>\n<meta property=\"og:site_name\" content=\"WITE\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-28T01:50:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-13T00:39:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/0_Q_RCLLz5uINCSXSe.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"927\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"hgostand\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"hgostand\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621\"},\"author\":{\"name\":\"hgostand\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/00c6377b90c41a8d0789bd572010a7ea\"},\"headline\":\"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f\",\"datePublished\":\"2022-04-28T01:50:39+00:00\",\"dateModified\":\"2022-05-13T00:39:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621\"},\"wordCount\":142,\"publisher\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/00c6377b90c41a8d0789bd572010a7ea\"},\"image\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/0_Q_RCLLz5uINCSXSe.jpg\",\"articleSection\":[\"\u4f7f\u7528\u6280\u5de7\",\"\u793a\u4f8b\u4ee3\u7801\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621\",\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621\",\"name\":\"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f - WITE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/0_Q_RCLLz5uINCSXSe.jpg\",\"datePublished\":\"2022-04-28T01:50:39+00:00\",\"dateModified\":\"2022-05-13T00:39:42+00:00\",\"description\":\"\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621#primaryimage\",\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/0_Q_RCLLz5uINCSXSe.jpg\",\"contentUrl\":\"https:\\\/\\\/wite.oxoooo.com\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/0_Q_RCLLz5uINCSXSe.jpg\",\"width\":1400,\"height\":927},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/?p=621#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/wite.oxoooo.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#website\",\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/\",\"name\":\"WITE\",\"description\":\"\u805a\u7126\u6280\u672f\u9886\u57df\u521b\u65b0\",\"publisher\":{\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/00c6377b90c41a8d0789bd572010a7ea\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wite.oxoooo.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wite.oxoooo.com\\\/#\\\/schema\\\/person\\\/00c6377b90c41a8d0789bd572010a7ea\",\"name\":\"hgostand\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\",\"url\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\",\"contentUrl\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\",\"width\":824,\"height\":618,\"caption\":\"hgostand\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.hgostand.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/\u8d44\u6e90-4@4x.png\"},\"url\":\"https:\\\/\\\/wite.oxoooo.com\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f - WITE","description":"\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wite.oxoooo.com\/?p=621","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f - WITE","og_description":"\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002","og_url":"https:\/\/wite.oxoooo.com\/?p=621","og_site_name":"WITE","article_published_time":"2022-04-28T01:50:39+00:00","article_modified_time":"2022-05-13T00:39:42+00:00","og_image":[{"width":1400,"height":927,"url":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/0_Q_RCLLz5uINCSXSe.jpg","type":"image\/jpeg"}],"author":"hgostand","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"hgostand","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wite.oxoooo.com\/?p=621#article","isPartOf":{"@id":"https:\/\/wite.oxoooo.com\/?p=621"},"author":{"name":"hgostand","@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/00c6377b90c41a8d0789bd572010a7ea"},"headline":"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f","datePublished":"2022-04-28T01:50:39+00:00","dateModified":"2022-05-13T00:39:42+00:00","mainEntityOfPage":{"@id":"https:\/\/wite.oxoooo.com\/?p=621"},"wordCount":142,"publisher":{"@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/00c6377b90c41a8d0789bd572010a7ea"},"image":{"@id":"https:\/\/wite.oxoooo.com\/?p=621#primaryimage"},"thumbnailUrl":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/0_Q_RCLLz5uINCSXSe.jpg","articleSection":["\u4f7f\u7528\u6280\u5de7","\u793a\u4f8b\u4ee3\u7801"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/wite.oxoooo.com\/?p=621","url":"https:\/\/wite.oxoooo.com\/?p=621","name":"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f - WITE","isPartOf":{"@id":"https:\/\/wite.oxoooo.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wite.oxoooo.com\/?p=621#primaryimage"},"image":{"@id":"https:\/\/wite.oxoooo.com\/?p=621#primaryimage"},"thumbnailUrl":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/0_Q_RCLLz5uINCSXSe.jpg","datePublished":"2022-04-28T01:50:39+00:00","dateModified":"2022-05-13T00:39:42+00:00","description":"\u5c31\u50cfGit\u7684\u5b50\u547d\u4ee4\u4e00\u6837\u591a\uff0c\u62e5\u62b1\u547d\u4ee4\u884c\u662f\u660e\u667a\u7684\u3002Git\u7684\u529f\u80fd\u975e\u5e38\u5f3a\u5927\uff1bIDE\u4e5f\u662f\u5982\u6b64\uff0c\u4f46\u5404\u81ea\u7684\u65b9\u5f0f\u4e0d\u540c\u3002\u6211\u6bcf\u5929\u90fd\u5728\u4f7f\u7528IDE\uff08IntelliJ IDEA\uff09\uff0c\u4e5f\u66fe\u5e7f\u6cdb\u4f7f\u7528\u5176\u4ed6IDE\uff08Eclipse\uff09\uff0c\u4f46\u6211\u4ece\u672a\u89c1\u8fc7IDE\u5bf9Git\u7684\u6574\u5408\u80fd\u4e0e\u547d\u4ee4\u884c\u7684\u4fbf\u6377\u548c\u5f3a\u5927\u76f8\u63d0\u5e76\u8bba\uff08\u4e00\u65e6\u4f60\u4e86\u89e3\u5b83\uff09\u3002","breadcrumb":{"@id":"https:\/\/wite.oxoooo.com\/?p=621#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wite.oxoooo.com\/?p=621"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/wite.oxoooo.com\/?p=621#primaryimage","url":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/0_Q_RCLLz5uINCSXSe.jpg","contentUrl":"https:\/\/wite.oxoooo.com\/wp-content\/uploads\/2022\/04\/0_Q_RCLLz5uINCSXSe.jpg","width":1400,"height":927},{"@type":"BreadcrumbList","@id":"https:\/\/wite.oxoooo.com\/?p=621#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wite.oxoooo.com\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u7f16\u5199Git\u63d0\u4ea4\u4fe1\u606f"}]},{"@type":"WebSite","@id":"https:\/\/wite.oxoooo.com\/#website","url":"https:\/\/wite.oxoooo.com\/","name":"WITE","description":"\u805a\u7126\u6280\u672f\u9886\u57df\u521b\u65b0","publisher":{"@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/00c6377b90c41a8d0789bd572010a7ea"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wite.oxoooo.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/wite.oxoooo.com\/#\/schema\/person\/00c6377b90c41a8d0789bd572010a7ea","name":"hgostand","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png","url":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png","contentUrl":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png","width":824,"height":618,"caption":"hgostand"},"logo":{"@id":"https:\/\/www.hgostand.com\/wp-content\/uploads\/2022\/03\/\u8d44\u6e90-4@4x.png"},"url":"https:\/\/wite.oxoooo.com\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts\/621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=621"}],"version-history":[{"count":3,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts\/621\/revisions"}],"predecessor-version":[{"id":629,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/posts\/621\/revisions\/629"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=\/wp\/v2\/media\/627"}],"wp:attachment":[{"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wite.oxoooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}