{"id":135759,"date":"2024-04-28T12:19:52","date_gmt":"2024-04-28T04:19:52","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/135759.html"},"modified":"2024-04-28T12:19:55","modified_gmt":"2024-04-28T04:19:55","slug":"git%e5%a6%82%e4%bd%95rollback","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/135759.html","title":{"rendered":"git\u5982\u4f55rollback"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24132747\/311af945-5583-4f65-afeb-07171d33ba7d.webp\" alt=\"git\u5982\u4f55rollback\" \/><\/p>\n<p><p>\u5982\u4f55\u5728Git\u4e2d\u6267\u884c\u56de\u6eda\u64cd\u4f5c\uff0c\u4e3b\u8981\u6d89\u53ca\u5230\u51e0\u4e2a\u5b9e\u7528\u547d\u4ee4\uff1a<strong><code>git reset<\/code>\u3001<code>git revert<\/code>\u548c<code>git checkout<\/code><\/strong>\u3002\u8fd9\u4e9b\u547d\u4ee4\u4f7f\u5f97\u5728version control\u7cfb\u7edf\u4e2d\u7ba1\u7406\u5386\u53f2\u7248\u672c\u548c\u4fee\u6539\u53d8\u5f97\u53ef\u884c\u3001\u5b89\u5168\u3001\u9ad8\u6548\u3002\u7279\u522b\u662f<code>git reset<\/code>\u547d\u4ee4\uff0c\u5b83\u53ef\u4ee5\u88ab\u7528\u6765\u5c06HEAD\uff08\u5f53\u524d\u6d3b\u8dc3\u5206\u652f\u7684\u9876\u7aef\uff09\u56de\u6eda\u5230\u66f4\u65e9\u7684\u67d0\u4e2a\u72b6\u6001\uff0c\u800c\u4e0d\u4f1a\u5f71\u54cd\u90a3\u4e2a\u65f6\u95f4\u70b9\u4e4b\u524d\u7684commit\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><p><code>git reset<\/code>\u63d0\u4f9b\u4e86\u4e0d\u540c\u7684\u6a21\u5f0f\uff0c\u4f8b\u5982&#8211;soft\u3001&#8211;mixed\u548c&#8211;hard\uff0c\u4ee5\u63a7\u5236\u56de\u6eda\u65f6\u662f\u5426\u4fdd\u7559\u5de5\u4f5c\u76ee\u5f55\u548c\u7d22\u5f15\u7684\u66f4\u6539\u3002\u4f7f\u7528<code>git reset<\/code>\u65f6\uff0c\u5e94\u5f53\u975e\u5e38\u8c28\u614e\uff0c\u7279\u522b\u662f\u5728\u6d89\u53ca\u5230&#8211;hard\u9009\u9879\u65f6\uff0c\u56e0\u4e3a\u5b83\u4f1a\u4e22\u5f03\u4ece\u56de\u6eda\u70b9\u5230\u5f53\u524d\u7684\u6240\u6709\u66f4\u6539\u3002<\/p>\n<\/p>\n<hr>\n<p><h2>\u4e00\u3001GIT RESET<\/h2>\n<\/p>\n<p><p>\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u5f53\u4f60\u53d1\u73b0\u6700\u8fd1\u7684\u4e00\u6b21\u6216\u51e0\u6b21\u63d0\u4ea4\u5305\u542b\u4e86\u9519\u8bef\uff0c\u6216\u8005\u6839\u672c\u4e0d\u9700\u8981\u65f6\uff0c<code>git reset<\/code>\u5c31\u663e\u5f97\u7279\u522b\u6709\u7528\u3002\u901a\u8fc7\u6267\u884c<code>git reset<\/code>\uff0c\u4f60\u53ef\u4ee5\u5c06\u5f53\u524d\u5206\u652f\u7684\u5934\u90e8\u6307\u5411\u66f4\u65e9\u7684\u4e00\u4e2acommit\uff0c\u4ece\u800c\u64a4\u9500\u65e0\u7528\u7684\u63d0\u4ea4\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p><strong>\u5f53\u4f60\u7684\u4ee3\u7801\u66f4\u6539\u5e76\u4e0d\u9700\u8981\u5171\u4eab\u7ed9\u56e2\u961f\u5176\u4ed6\u6210\u5458\u65f6<\/strong>\uff0c\u4f7f\u7528<code>git reset<\/code>\u662f\u4e00\u4e2a\u597d\u9009\u62e9\u3002\u5b83\u53ef\u4ee5\u8ba9\u4f60\u7684\u5206\u652f\u56de\u5230\u4e00\u4e2a\u9519\u8bef\u4e4b\u524d\u7684\u72b6\u6001\u3002<\/p>\n<\/p>\n<p><h3>\u547d\u4ee4\u884c\u64cd\u4f5c<\/h3>\n<\/p>\n<p><p>\u6267\u884c<code>git reset<\/code>\u65f6\u6709\u4e09\u79cd\u6a21\u5f0f\u53ef\u4ee5\u9009\u62e9\u3002\u6700\u5e38\u7528\u7684\u662f<code>--hard<\/code>\u9009\u9879\uff0c\u5b83\u4f1a\u91cd\u7f6e\u5de5\u4f5c\u76ee\u5f55\u548c\u7d22\u5f15\uff08\u5373\u6682\u5b58\u533a\uff09\u5230\u4f60\u6307\u5b9a\u7684commit\u3002<\/p>\n<\/p>\n<ol>\n<li><code>git reset --hard &lt;commit&gt;<\/code>\u4f1a\u5c06HEAD\u3001index\u548c\u5de5\u4f5c\u76ee\u5f55\u90fd\u56de\u6eda\u5230\u6307\u5b9a\u7684commit\u3002<\/li>\n<li><code>git reset --soft &lt;commit&gt;<\/code>\u53ea\u4f1a\u5c06HEAD\u56de\u6eda\u5230\u6307\u5b9a\u7684commit\uff0c\u800c\u4e0d\u6539\u53d8index\u548c\u5de5\u4f5c\u76ee\u5f55\u3002<\/li>\n<li><code>git reset --mixed &lt;commit&gt;<\/code>\u9ed8\u8ba4\u9009\u9879\uff0c\u5c06HEAD\u548cindex\u56de\u6eda\u5230\u6307\u5b9acommit\uff0c\u4f46\u4e0d\u4f1a\u6539\u53d8\u5de5\u4f5c\u76ee\u5f55\u3002<\/li>\n<\/ol>\n<p><h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>--hard<\/code>\u9009\u9879\u65f6\u8981\u683c\u5916\u5c0f\u5fc3\uff0c\u56e0\u4e3a\u5b83\u4f1a\u4e22\u5f03\u6240\u6709\u672a\u63d0\u4ea4\u7684\u53d8\u66f4\u3002\u5728\u6267\u884c\u8be5\u547d\u4ee4\u524d\uff0c\u786e\u4fdd\u4f60\u4e0d\u9700\u8981\u8fd9\u4e9b\u672a\u63d0\u4ea4\u7684\u66f4\u6539\uff0c\u6216\u8005\u5df2\u7ecf\u5c06\u5b83\u4eec\u5b58\u50a8\u5728\u5176\u4ed6\u5730\u65b9\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001GIT REVERT<\/h2>\n<\/p>\n<p><p>\u5f53\u9700\u8981\u64a4\u9500\u516c\u5171\u5386\u53f2\u4e2d\u7684\u67d0\u4e9b\u66f4\u6539\u65f6\uff0c<code>git revert<\/code>\u662f\u4e00\u79cd\u5b89\u5168\u7684\u56de\u6eda\u65b9\u5f0f\u3002\u4e0e<code>git reset<\/code>\u4e0d\u540c\uff0c<code>git revert<\/code>\u901a\u8fc7\u521b\u5efa\u4e00\u4e2a\u65b0\u7684commit\u6765\u64a4\u9500\u4e00\u4e2a\u65e7commit\u7684\u5f71\u54cd\uff0c\u4ece\u800c\u4e0d\u4f1a\u5e72\u6270\u9879\u76ee\u7684\u5386\u53f2\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p><strong>\u5728\u591a\u4eba\u534f\u4f5c\u7684\u9879\u76ee\u4e2d\u64a4\u9500\u66f4\u6539<\/strong>\uff0c\u7279\u522b\u662f\u8fd9\u4e9b\u66f4\u6539\u5df2\u7ecf\u88ab\u63a8\u9001\u5230\u4e86\u8fdc\u7a0b\u4ed3\u5e93\u3002<code>git revert<\/code>\u80fd\u591f\u786e\u4fdd\u5386\u53f2\u4e0d\u4f1a\u88ab\u91cd\u5199\uff0c\u4ece\u800c\u907f\u514d\u5408\u4f5c\u4e2d\u51fa\u73b0\u6df7\u4e71\u3002<\/p>\n<\/p>\n<p><h3>\u547d\u4ee4\u884c\u64cd\u4f5c<\/h3>\n<\/p>\n<ol>\n<li>\u6267\u884c<code>git revert &lt;commit&gt;<\/code>\u4f1a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u65b0\u7684commit\uff0c\u5373\u6240\u8c13\u7684\u9006\u5411\u66f4\u6539\uff0c\u4ee5\u64a4\u9500\u6307\u5b9acommit\u7684\u4fee\u6539\u3002<\/li>\n<li>\u8fd0\u884c\u8be5\u547d\u4ee4\u540e\uff0c\u4f1a\u6253\u5f00\u7f16\u8f91\u5668\u8ba9\u4f60\u7f16\u8f91\u63d0\u4ea4\u4fe1\u606f\u3002\u7b80\u5355\u4fdd\u5b58\u5e76\u5173\u95ed\u7f16\u8f91\u5668\uff0c\u5c31\u4f1a\u5b8c\u6210\u64a4\u9500\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<p><h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>git revert<\/code>\u65f6\uff0c\u9700\u8981\u5904\u7406\u53ef\u80fd\u51fa\u73b0\u7684\u5408\u5e76\u51b2\u7a81\u3002\u56e0\u4e3a\u9006\u5411commit\u53ef\u80fd\u548c\u5f53\u524d\u7248\u672c\u7684\u6587\u4ef6\u53d1\u751f\u51b2\u7a81\uff0c\u8fd9\u65f6\u5c31\u9700\u8981\u624b\u52a8\u89e3\u51b3\u51b2\u7a81\uff0c\u7136\u540e\u5b8c\u6210\u64a4\u9500\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001GIT CHECKOUT<\/h2>\n<\/p>\n<p><p><code>git checkout<\/code>\u53ef\u4ee5\u7528\u6765\u5207\u6362\u5206\u652f\u6216\u6062\u590d\u5de5\u4f5c\u76ee\u5f55\u6587\u4ef6\u3002\u867d\u7136\u5b83\u4e0d\u662f\u4e13\u95e8\u7528\u4e8e\u56de\u6eda\u7684\u547d\u4ee4\uff0c\u4f46\u5b83\u53ef\u4ee5\u7528\u6765\u68c0\u51fa\u67d0\u4e2a\u7279\u5b9a\u7684commit\u7684\u72b6\u6001\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p><strong>\u5f53\u4f60\u60f3\u8981\u67e5\u770b\u4e00\u4e2a\u8001\u7248\u672c\u7684\u9879\u76ee\u72b6\u6001\uff0c\u6216\u8005\u5bf9\u6bd4\u4e0d\u540c\u7248\u672c\u4e4b\u95f4\u7684\u5dee\u5f02\u65f6<\/strong>\uff0c\u4f7f\u7528<code>git checkout<\/code>\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u5207\u6362\u5230\u4e0d\u540c\u7684commit\u3002<\/p>\n<\/p>\n<p><h3>\u547d\u4ee4\u884c\u64cd\u4f5c<\/h3>\n<\/p>\n<ol>\n<li>\u901a\u8fc7<code>git checkout &lt;commit&gt;<\/code>\uff0c\u4f60\u53ef\u4ee5\u4e34\u65f6\u5207\u6362\u5230\u8be5commit\u6240\u4ee3\u8868\u7684\u5386\u53f2\u72b6\u6001\u3002<\/li>\n<li>\u8981\u8fd4\u56de\u5230\u6700\u65b0\u72b6\u6001\uff0c\u53ef\u4ee5\u4f7f\u7528<code>git checkout &lt;branch_name&gt;<\/code>\u5207\u6362\u56de\u4f60\u7684\u5f53\u524d\u5206\u652f\u3002<\/li>\n<\/ol>\n<p><h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>git checkout<\/code>\u5207\u6362\u5230\u4e00\u4e2a\u8001\u7248\u672c\u65f6\uff0c\u4f60\u5904\u4e8e\u4e00\u4e2a\u5206\u79bbHEAD\u7684\u72b6\u6001\u3002\u8fd9\u610f\u5473\u7740\uff0c\u5728\u8fd9\u4e2a\u72b6\u6001\u4e0b\u6240\u505a\u7684\u4efb\u4f55\u63d0\u4ea4\u90fd\u4e0d\u4f1a\u5c5e\u4e8e\u4efb\u4f55\u5206\u652f\uff0c\u5982\u679c\u9700\u8981\u4fdd\u7559\u8fd9\u4e9b\u66f4\u6539\uff0c\u5e94\u5f53\u521b\u5efa\u4e00\u4e2a\u65b0\u5206\u652f\u3002<\/p>\n<\/p>\n<hr>\n<p><p>Git\u4f5c\u4e3a\u4e00\u4e2a\u5f3a\u5927\u7684\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u5de5\u5177\u548c\u547d\u4ee4\u6765\u5e2e\u52a9\u5f00\u53d1\u8005\u6709\u6548\u5730\u7ba1\u7406\u4ee3\u7801\u7684\u7248\u672c\u3002\u65e0\u8bba\u662f\u64a4\u9500\u9519\u8bef\u7684\u63d0\u4ea4\u3001\u67e5\u770b\u5386\u53f2\u7248\u672c\uff0c\u8fd8\u662f\u4fee\u6b63\u9519\u8bef\uff0c<code>git reset<\/code>\u3001<code>git revert<\/code>\u548c<code>git checkout<\/code>\u7b49\u547d\u4ee4\u90fd\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u3002\u6b63\u786e\u5730\u5229\u7528\u8fd9\u4e9b\u547d\u4ee4\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u56e2\u961f\u534f\u4f5c\u7684\u6548\u679c\u3002\u5728\u8fdb\u884c\u7248\u672c\u56de\u6eda\u65f6\uff0c\u786e\u4fdd\u6e05\u695a\u6bcf\u4e2a\u547d\u4ee4\u7684\u4f7f\u7528\u573a\u666f\u548c\u6f5c\u5728\u5f71\u54cd\uff0c\u4ece\u800c\u505a\u51fa\u6700\u5408\u9002\u7684\u51b3\u5b9a\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u5982\u4f55\u56de\u6eda Git \u4e2d\u7684\u4ee3\u7801\u66f4\u6539\uff1f<\/strong><\/p>\n<p>\u56de\u6eda Git \u4e2d\u7684\u4ee3\u7801\u66f4\u6539\u662f\u901a\u8fc7\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\u6765\u5b8c\u6210\u7684\uff1a<\/p>\n<ol>\n<li>\u4f7f\u7528 <code>git log<\/code> \u547d\u4ee4\u67e5\u770b\u63d0\u4ea4\u8bb0\u5f55\uff0c\u627e\u5230\u8981\u56de\u6eda\u7684\u63d0\u4ea4\u7684\u54c8\u5e0c\u503c\u3002<\/li>\n<li>\u4f7f\u7528 <code>git revert<\/code> \u547d\u4ee4\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u63d0\u4ea4\uff0c\u8be5\u63d0\u4ea4\u4f1a\u64a4\u6d88\u6307\u5b9a\u63d0\u4ea4\u5bf9\u4ee3\u7801\u7684\u66f4\u6539\u3002\u4f8b\u5982\uff0c\u4f7f\u7528 <code>git revert &lt;commit_hash&gt;<\/code>\u3002<\/li>\n<li>\u4f7f\u7528 <code>git push<\/code> \u547d\u4ee4\u5c06\u56de\u6eda\u63d0\u4ea4\u63a8\u9001\u5230\u8fdc\u7a0b\u5b58\u50a8\u5e93\uff0c\u4f7f\u5176\u4ed6\u5f00\u53d1\u4eba\u5458\u4e5f\u80fd\u770b\u5230\u56de\u6eda\u7684\u66f4\u6539\u3002<\/li>\n<\/ol>\n<p>\u8bf7\u6ce8\u610f\uff0c\u56de\u6eda\u4f1a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u63d0\u4ea4\uff0c\u5e76\u5c06\u64a4\u9500\u6307\u5b9a\u63d0\u4ea4\u5bf9\u4ee3\u7801\u7684\u66f4\u6539\u3002\u8fd9\u610f\u5473\u7740\u4f60\u7684\u63d0\u4ea4\u5386\u53f2\u4f1a\u4fdd\u7559\u4e0b\u6765\uff0c\u5e76\u4e14\u53ef\u4ee5\u56de\u5230\u4e4b\u524d\u7684\u72b6\u6001\u3002<\/p>\n<p><strong>Git \u56de\u6eda\u64cd\u4f5c\u662f\u5426\u4f1a\u5f71\u54cd\u5176\u4ed6\u4eba\u7684\u5de5\u4f5c\uff1f<\/strong><\/p>\n<p>\u5728 Git \u4e2d\uff0c\u56de\u6eda\u64cd\u4f5c\u4e0d\u4f1a\u76f4\u63a5\u5f71\u54cd\u5176\u4ed6\u4eba\u7684\u5de5\u4f5c\u3002\u5f53\u4f60\u56de\u6eda\u63d0\u4ea4\u65f6\uff0cGit \u4f1a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u63d0\u4ea4\u6765\u64a4\u6d88\u4e4b\u524d\u7684\u66f4\u6539\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u4fee\u6539\u5df2\u6709\u7684\u63d0\u4ea4\u3002\u56e0\u6b64\uff0c\u5176\u4ed6\u4eba\u7684\u5de5\u4f5c\u4e0d\u4f1a\u53d7\u5230\u5f71\u54cd\u3002<\/p>\n<p>\u7136\u800c\uff0c\u5982\u679c\u5176\u4ed6\u4eba\u5df2\u7ecf\u57fa\u4e8e\u56de\u6eda\u4e4b\u524d\u7684\u63d0\u4ea4\u8fdb\u884c\u4e86\u65b0\u7684\u66f4\u6539\uff0c\u5e76\u4e14\u8fd9\u4e9b\u66f4\u6539\u4e0e\u4f60\u7684\u56de\u6eda\u63d0\u4ea4\u6709\u51b2\u7a81\uff0c\u90a3\u4e48\u4ed6\u4eec\u9700\u8981\u89e3\u51b3\u8fd9\u4e9b\u51b2\u7a81\u624d\u80fd\u7ee7\u7eed\u63a8\u9001\u4ed6\u4eec\u7684\u66f4\u6539\u3002<\/p>\n<p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5efa\u8bae\u5728\u56de\u6eda\u4e4b\u524d\u4e0e\u56e2\u961f\u6c9f\u901a\uff0c\u5e76\u786e\u4fdd\u5f7c\u6b64\u77e5\u6653\u56de\u6eda\u64cd\u4f5c\u7684\u5f71\u54cd\uff0c\u4ee5\u4fbf\u534f\u8c03\u597d\u540e\u7eed\u7684\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u4ec0\u4e48\u65f6\u5019\u5e94\u8be5\u4f7f\u7528 Git \u56de\u6eda\u64cd\u4f5c\uff1f<\/strong><\/p>\n<p>\u4f7f\u7528 Git \u56de\u6eda\u64cd\u4f5c\u65f6\uff0c\u901a\u5e38\u6709\u4ee5\u4e0b\u51e0\u79cd\u60c5\u51b5\uff1a<\/p>\n<ol>\n<li>\u4f60\u63d0\u4ea4\u4e86\u4e00\u4e2a\u9519\u8bef\u7684\u66f4\u6539\uff0c\u5e76\u4e14\u5e0c\u671b\u64a4\u6d88\u8fd9\u4e2a\u66f4\u6539\uff0c\u6062\u590d\u5230\u4e4b\u524d\u7684\u72b6\u6001\u3002<\/li>\n<li>\u4f60\u53d1\u73b0\u4e00\u4e2a\u4e4b\u524d\u7684\u63d0\u4ea4\u5f15\u5165\u4e86\u4e00\u4e2a\u4e25\u91cd\u7684 bug\uff0c\u9700\u8981\u56de\u6eda\u8be5\u63d0\u4ea4\u4ee5\u4fee\u590d\u95ee\u9898\u3002<\/li>\n<li>\u591a\u4e2a\u5f00\u53d1\u4eba\u5458\u540c\u65f6\u5de5\u4f5c\u65f6\uff0c\u9700\u8981\u56de\u6eda\u67d0\u4eba\u7684\u66f4\u6539\u4ee5\u89e3\u51b3\u51b2\u7a81\u6216\u4ee3\u7801\u9519\u8bef\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u5728Git\u4e2d\u6267\u884c\u56de\u6eda\u64cd\u4f5c\uff0c\u4e3b\u8981\u6d89\u53ca\u5230\u51e0\u4e2a\u5b9e\u7528\u547d\u4ee4\uff1agit reset\u3001git revert\u548cgit chec [&hellip;]","protected":false},"author":3,"featured_media":135769,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/135759"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=135759"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/135759\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/135769"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=135759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=135759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=135759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}