{"id":123,"date":"2018-05-08T17:38:55","date_gmt":"2018-05-08T09:38:55","guid":{"rendered":"http:\/\/chenhaitao.me\/?p=123"},"modified":"2018-05-08T17:39:13","modified_gmt":"2018-05-08T09:39:13","slug":"%e8%bd%acintellij-idea%e4%b8%8b%e7%9a%84%e4%bd%bf%e7%94%a8git","status":"publish","type":"post","link":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2018\/05\/08\/%e8%bd%acintellij-idea%e4%b8%8b%e7%9a%84%e4%bd%bf%e7%94%a8git\/","title":{"rendered":"[\u8f6c]IntelliJ IDEA\u4e0b\u7684\u4f7f\u7528git"},"content":{"rendered":"<h2>1\u3001git\u7b80\u4ecb<\/h2>\n<p>git\u662f\u76ee\u524d\u6d41\u884c\u7684\u5206\u5e03\u5f0f\u7248\u672c\u7ba1\u7406\u7cfb\u7edf\u3002\u5b83\u62e5\u6709\u4e24\u5957\u7248\u672c\u5e93\uff0c\u672c\u5730\u5e93\u548c\u8fdc\u7a0b\u5e93\uff0c\u5728\u4e0d\u8fdb\u884c\u5408\u5e76\u548c\u5220\u9664\u4e4b\u7c7b\u7684\u64cd\u4f5c\u65f6\u8fd9\u4e24\u5957\u7248\u672c\u5e93\u4e92\u4e0d\u5f71\u54cd\u3002\u4e5f\u56e0\u6b64\u5176\u8fd1\u4e4e\u6240\u6709\u7684\u64cd\u4f5c\u90fd\u662f\u672c\u5730\u6267\u884c\uff0c\u6240\u4ee5\u5728\u65ad\u7f51\u7684\u60c5\u51b5\u4e0b\u4efb\u7136\u53ef\u4ee5\u63d0\u4ea4\u4ee3\u7801\uff0c\u5207\u6362\u5206\u652f\u3002git\u53c8\u4f7f\u7528\u4e86SHA-1\u54c8\u5e0c\u7b97\u6cd5\u786e\u4fdd\u4e86\u5728\u6587\u4ef6\u4f20\u8f93\u65f6\u53d8\u5f97\u4e0d\u5b8c\u6574\u3001\u78c1\u76d8\u635f\u574f\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u65f6\u80fd\u7acb\u5373\u5bdf\u89c9\u5230\u3002<\/p>\n<p>git\u7684\u57fa\u672c\u5de5\u4f5c\u6d41\u7a0b\uff1a<\/p>\n<p><a href=\"http:\/\/img2.tbcdn.cn\/L1\/461\/1\/ac6d9422c3f843017b2441b212f39ebc00697e4c\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_status\" src=\"http:\/\/img2.tbcdn.cn\/L1\/461\/1\/ac6d9422c3f843017b2441b212f39ebc00697e4c\" alt=\"git_status\" \/><\/a><\/p>\n<ul>\n<li>git clone\uff1a\u5c06\u8fdc\u7a0b\u7684Master\u5206\u652f\u4ee3\u7801\u514b\u9686\u5230\u672c\u5730\u4ed3\u5e93<\/li>\n<li>git checkout\uff1a\u5207\u51fa\u5206\u652f\u51fa\u6765\u5f00\u53d1<\/li>\n<li>git add\uff1a\u5c06\u6587\u4ef6\u52a0\u5165\u5e93\u8ddf\u8e2a\u533a<\/li>\n<li>git commit\uff1a\u5c06\u5e93\u8ddf\u8e2a\u533a\u6539\u53d8\u7684\u4ee3\u7801\u63d0\u4ea4\u5230\u672c\u5730\u4ee3\u7801\u5e93\u4e2d<\/li>\n<li>git push\uff1a \u5c06\u672c\u5730\u4ed3\u5e93\u4e2d\u7684\u4ee3\u7801\u63d0\u4ea4\u5230\u8fdc\u7a0b\u4ed3\u5e93<\/li>\n<\/ul>\n<p>git \u5206\u652f<\/p>\n<ul>\n<li>\u4e3b\u5206\u652f\n<ul>\n<li>master\u5206\u652f\uff1a\u5b58\u653e\u968f\u65f6\u53ef\u4f9b\u751f\u4ea7\u73af\u5883\u4e2d\u7684\u90e8\u7f72\u7684\u4ee3\u7801<\/li>\n<li>develop\u5206\u652f\uff1a\u5b58\u653e\u5f53\u524d\u6700\u65b0\u5f00\u53d1\u6210\u679c\u7684\u5206\u652f\uff0c\u5f53\u4ee3\u7801\u8db3\u591f\u7a33\u5b9a\u65f6\u53ef\u4ee5\u5408\u5e76\u5230master\u5206\u652f\u4e0a\u53bb\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u8f85\u52a9\u5206\u652f\n<ul>\n<li>feature\u5206\u652f\uff1a\u5f00\u53d1\u65b0\u529f\u80fd\u4f7f\u7528\uff0c\u6700\u7ec8\u5408\u5e76\u5230develop\u5206\u652f\u6216\u629b\u5f03\u6389<\/li>\n<li>release\u5206\u652f\uff1a\u505a\u5c0f\u7684\u7f3a\u9677\u4fee\u6b63\u3001\u51c6\u5907\u53d1\u5e03\u7248\u672c\u6240\u9700\u7684\u5404\u9879\u8bf4\u660e\u4fe1\u606f<\/li>\n<li>hotfix\u5206\u652f\uff1a\u4ee3\u7801\u7684\u7d27\u6025\u4fee\u590d\u5de5\u4f5c<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><a name=\"t1\"><\/a> 2\u3001git\u5728IntelliJ IDEA\u4e0b\u7684\u4f7f\u7528<\/h2>\n<h3><a name=\"t2\"><\/a> 2.1\u3001IntelliJ IDEA\u4e0b\u914d\u7f6egit<\/h3>\n<ul>\n<li>\u672c\u5730\u5b89\u88c5\u597dgit\uff0c\u5e76\u914d\u7f6e\u5408\u7406\u7684SSH key\uff0c<a href=\"http:\/\/blog.csdn.net\/hustpzb\/article\/details\/8230454\" target=\"_blank\" rel=\"noopener\">\u5177\u4f53\u770b\u8fd9\u91cc<\/a><\/li>\n<li>IntelliJ IDEA-&gt;Performance-&gt;Version Control-&gt;git \u5c06\u81ea\u5df1\u5b89\u88c5git\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u586b\u5165Path to Git executable\uff0c\u70b9\u51fb Test\u6d4b\u8bd5\u4e00\u4e0b<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/340e1a228cde9afdc69ae37628ae4d4d1f7e1b5d\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_\" src=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/340e1a228cde9afdc69ae37628ae4d4d1f7e1b5d\" alt=\"git_\" \/><\/a><\/p>\n<h3><a name=\"t3\"><\/a> 2.2\u3001git clone<\/h3>\n<ul>\n<li>VCS-&gt;Git-&gt;Clone<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img3.tbcdn.cn\/L1\/461\/1\/1d773f521737bc3bd8362c1eaa693cb8d24254c8\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_clone1\" src=\"http:\/\/img3.tbcdn.cn\/L1\/461\/1\/1d773f521737bc3bd8362c1eaa693cb8d24254c8\" alt=\"git_clone1\" \/><\/a><\/p>\n<ul>\n<li>\u8f93\u5165\u4f60\u7684\u8fdc\u7a0b\u4ed3\u5e93\u5730\u5740,\u70b9\u51fb\u6d4b\u8bd5\u4e00\u4e0b\u5730\u5740\u662f\u5426\u6b63\u786e<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img4.tbcdn.cn\/L1\/461\/1\/4017a7083829acae2e3412ce4283912519c52c5c\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_clone2\" src=\"http:\/\/img4.tbcdn.cn\/L1\/461\/1\/4017a7083829acae2e3412ce4283912519c52c5c\" alt=\"git_clone2\" \/><\/a><\/p>\n<h3><a name=\"t4\"><\/a> 2.3\u3001git checkout<\/h3>\n<ul>\n<li>\u5728IntelliJ IDEA\u53f3\u4e0b\u89d2\u6709\u4e00\u4e2agit\u7684\u5206\u652f\u7ba1\u7406\uff0c\u70b9\u51fb\u3002\u9009\u62e9\u81ea\u5df1\u9700\u8981\u7684\u5206\u652f\uff0ccheckout\u51fa\u6765<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img3.tbcdn.cn\/L1\/461\/1\/79a802ad7662414db07ae2c6fc60d562e657b555\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_checkout1\" src=\"http:\/\/img3.tbcdn.cn\/L1\/461\/1\/79a802ad7662414db07ae2c6fc60d562e657b555\" alt=\"git_checkout1\" \/><\/a><\/p>\n<ul>\n<li>checkout\u51fa\u6765\uff0c\u4f1a\u5728\u5e95\u7aef\u663e\u793a\u5f53\u524d\u7684\u5206\u652f\u3002\u5176\u4e2d1\u663e\u793a\u7684\u4e3a\u672c\u5730\u4ed3\u5e93\u4e2d\u7684\u7248\u672c\uff0c2\u4e3a\u8fdc\u7a0b\u4ed3\u5e93\u4e2d\u7684\u7248\u672c<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/db8c7685d9503aaa020b3afee44dc8684b9d54df\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_checkout2\" src=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/db8c7685d9503aaa020b3afee44dc8684b9d54df\" alt=\"git_checkout2\" \/><\/a><\/p>\n<ul>\n<li>\u70b9\u51fbIDE\u7684\u53f3\u4e0a\u89d2\u7684\u5411\u4e0b\u7bad\u5934\u7684VCS\uff0c\u5c06\u5206\u652f\u7684\u53d8\u66f4\u540c\u6b65\u5230\u672c\u5730<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img3.tbcdn.cn\/L1\/461\/1\/d104f56bd35d5aced781474f9acf8c0618e0fe1b\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_checkout3\" src=\"http:\/\/img3.tbcdn.cn\/L1\/461\/1\/d104f56bd35d5aced781474f9acf8c0618e0fe1b\" alt=\"git_checkout3\" \/><\/a><\/p>\n<h3><a name=\"t5\"><\/a> 2.4\u3001git diff<\/h3>\n<ul>\n<li>\u5728local changes \u4e2d\u9009\u4e2d\u8981\u6bd4\u5bf9\u7684\u6587\u4ef6\uff0c\u53f3\u952e\u9009\u62e9show diff \u4fbf\u53ef\u4ee5\u67e5\u770b\u6587\u4ef6\u7684\u53d8\u52a8\u3002\u6216\u8005\u9009\u62e9Revert\u653e\u5f03\u6587\u4ef6\u7684\u6539\u52a8\u00a0<a href=\"http:\/\/img2.tbcdn.cn\/L1\/461\/1\/102e3ee40794bc6fc5fefc5123ad686930d258a3\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_diff\" src=\"http:\/\/img2.tbcdn.cn\/L1\/461\/1\/102e3ee40794bc6fc5fefc5123ad686930d258a3\" alt=\"git_diff\" \/><\/a><\/li>\n<\/ul>\n<h3><a name=\"t6\"><\/a> 2.5\u3001git log<\/h3>\n<ul>\n<li>\u5728Version Control\u4e0b\u9009\u62e9Log\uff0c\u53ef\u4ee5\u67e5\u770b\u63d0\u4ea4\u5386\u53f2\u00a0<a href=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/2b8f50e4fe1cdf21c96e9aeba23611462f6d601d\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_log\" src=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/2b8f50e4fe1cdf21c96e9aeba23611462f6d601d\" alt=\"git_log\" \/><\/a><\/li>\n<\/ul>\n<h3><a name=\"t7\"><\/a> 2.6\u3001git commit<\/h3>\n<ul>\n<li>\u9ed8\u8ba4\u5bfc\u5165\u7684\u5de5\u7a0b\u5df2\u7ecfgit add\u52a0\u5165\u5e93\u8ddf\u8e2a\u533a\u4e86<\/li>\n<li>\u968f\u4fbf\u4fee\u6539\u4e00\u4e0bpom.xml\u6587\u4ef6\uff0c\u5176\u4fee\u6539\u7684\u6587\u4ef6\u4f1a\u663e\u793a\u5728Version Control\u4e2d\u7684local changes\u4e0b<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/28f17b1b1fce9e3df03bfb9eec08f6e2439d67e1\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_commit1\" src=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/28f17b1b1fce9e3df03bfb9eec08f6e2439d67e1\" alt=\"git_commit1\" \/><\/a><\/p>\n<ul>\n<li>\u70b9\u51fbIDE\u53f3\u4e0a\u89d2\u7684\u5411\u4e0a\u7bad\u5934\u7684VCS\uff0c git commit, \u5199\u4e0a\u65e5\u5fd7\u63d0\u4ea4\u5230\u672c\u5730\u4ee3\u7801\u5e93\u4e2d<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/5bf28cd1f376f8ef76eabefd4376372a8ef1ac12\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_commit2\" src=\"http:\/\/img1.tbcdn.cn\/L1\/461\/1\/5bf28cd1f376f8ef76eabefd4376372a8ef1ac12\" alt=\"git_commit2\" \/><\/a><\/p>\n<h3><a name=\"t8\"><\/a> 2.7\u3001git push<\/h3>\n<ul>\n<li>VCS-&gt;Git-&gt;Push \u5c06\u672c\u5730\u4ee3\u7801\u63d0\u4ea4\u5230\u8fdc\u7a0b\u4ed3\u5e93<\/li>\n<\/ul>\n<p><a href=\"http:\/\/img2.tbcdn.cn\/L1\/461\/1\/be1be70c5cde1f33d4974be37cfb4ef5d0ef264a\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"git_push\" src=\"http:\/\/img2.tbcdn.cn\/L1\/461\/1\/be1be70c5cde1f33d4974be37cfb4ef5d0ef264a\" alt=\"git_push\" \/><\/a><\/p>\n<h3><a name=\"t9\"><\/a> 2.8\u3001\u5728Idea\u547d\u4ee4\u884c\u4f7f\u7528git<\/h3>\n<p>mac\u4e0b\u540c\u65f6\u6309alt+F12,\u8fdb\u5165idea\u547d\u4ee4\u884c<\/p>\n<p>\u5e38\u89c1\u7684\u547d\u4ee4\uff1a<\/p>\n<p>clone\u9879\u76ee\u00a0 git clone xxxxxx<\/p>\n<p>\u68c0\u67e5\u9879\u76ee\u72b6\u6001 git status<\/p>\n<p>\u5207\u6362\u5206\u652f\u5e76\u548c\u8fdc\u7a0b\u7684\u5206\u652f\u5173\u8054 git checkout -b xxx -t origin\/xxx<\/p>\n<p>\u62c9\u6700\u65b0\u66f4\u65b0 git pull<\/p>\n<p>\u63d0\u4ea4\u66f4\u65b0 git commit -am &#8220;\u5907\u6ce8&#8221;<\/p>\n<p>\u5408\u5e76\u5206\u652f\u5230\u5f53\u524d\u5206\u652f\uff0c\u9996\u5148\u5207\u6362\u5230\u9700\u8981\u88ab\u5408\u5e76\u7684\u5206\u652f git checkout xxx, \u518d\u5408\u5e76\u00a0 git merge yyyy<\/p>\n<p>\u63d0\u4ea4 git push<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001git\u7b80\u4ecb git\u662f\u76ee\u524d\u6d41\u884c\u7684\u5206\u5e03\u5f0f\u7248\u672c\u7ba1\u7406\u7cfb\u7edf\u3002\u5b83\u62e5\u6709\u4e24\u5957\u7248\u672c\u5e93\uff0c\u672c\u5730\u5e93\u548c\u8fdc\u7a0b\u5e93\uff0c\u5728\u4e0d\u8fdb\u884c\u5408\u5e76\u548c\u5220\u9664\u4e4b\u7c7b\u7684\u64cd\u4f5c\u65f6\u8fd9\u4e24\u5957\u7248\u672c\u5e93\u4e92\u4e0d\u5f71\u54cd\u3002\u4e5f\u56e0\u6b64\u5176\u8fd1\u4e4e\u6240\u6709\u7684\u64cd&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2018\/05\/08\/%e8%bd%acintellij-idea%e4%b8%8b%e7%9a%84%e4%bd%bf%e7%94%a8git\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[30],"tags":[38],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-30","tag-git"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9HWWB-1Z","jetpack-related-posts":[{"id":148,"url":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2018\/09\/28\/%e8%bd%ac%e5%9c%a8centos-7%e4%b8%ad%e6%90%ad%e5%bb%bagit%e6%9c%8d%e5%8a%a1%e5%99%a8\/","url_meta":{"origin":123,"position":0},"title":"[\u8f6c]\u5728CentOS 7\u4e2d\u642d\u5efaGit\u670d\u52a1\u5668","author":"\u6770\u514b\u9648","date":"2018\u5e749\u670828\u65e5","format":false,"excerpt":"\u73af\u5883\u8bf4\u660e - CentOS 7.x \u6700\u5c0f\u5b89\u88c5 - \u914d\u7f6e\u7f51\u7edc\u8fde\u63a5 1. \u5b89\u88c5Git\u53ca\u521b\u5efa\u7528\u6237 # \u5b89\u88c5\u2026","rel":"","context":"\u5728\u201ccentos\u201d\u4e2d","block_context":{"text":"centos","link":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/tag\/centos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":115,"url":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2018\/05\/08\/%e8%bd%accentos%e6%90%ad%e5%bb%bagit%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e5%90%8c%e6%ad%a5%e7%ba%bf%e4%b8%8a%e9%a1%b9%e7%9b%ae\/","url_meta":{"origin":123,"position":1},"title":"[\u8f6c]centos\u642d\u5efagit\u670d\u52a1\u5668,\u5e76\u540c\u6b65\u7ebf\u4e0a\u9879\u76ee","author":"\u6770\u514b\u9648","date":"2018\u5e745\u67088\u65e5","format":false,"excerpt":"1. \u5b89\u88c5git 2. \u521b\u5efa\u7528\u6237git groupadd git adduser git -g gi\u2026","rel":"","context":"\u5728\u201c\u8fd0\u7ef4\u201d\u4e2d","block_context":{"text":"\u8fd0\u7ef4","link":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/category\/%e8%bf%90%e7%bb%b4\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":119,"url":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2018\/05\/08\/%e5%ae%89%e8%a3%85-git\/","url_meta":{"origin":123,"position":2},"title":"\u5b89\u88c5 Git","author":"\u6770\u514b\u9648","date":"2018\u5e745\u67088\u65e5","format":false,"excerpt":"\u662f\u65f6\u5019\u52a8\u624b\u5c1d\u8bd5\u4e0b Git \u4e86\uff0c\u4e0d\u8fc7\u5f97\u5148\u5b89\u88c5\u597d\u5b83\u3002\u6709\u8bb8\u591a\u79cd\u5b89\u88c5\u65b9\u5f0f\uff0c\u4e3b\u8981\u5206\u4e3a\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u901a\u8fc7\u7f16\u8bd1\u6e90\u4ee3\u7801\u2026","rel":"","context":"\u5728\u201c\u5f00\u53d1\u201d\u4e2d","block_context":{"text":"\u5f00\u53d1","link":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/category\/%e5%bc%80%e5%8f%91\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":126,"url":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2018\/05\/25\/mac%e4%b8%8bidea%e7%9a%84%e4%bd%bf%e7%94%a8%e4%b9%8bsvn%e7%af%87\/","url_meta":{"origin":123,"position":3},"title":"mac\u4e0bidea\u7684\u4f7f\u7528\u4e4bsvn\u7bc7","author":"\u6770\u514b\u9648","date":"2018\u5e745\u670825\u65e5","format":false,"excerpt":"\u6839\u636e\u5728eclipse\u91cc\u4f7f\u7528svn\u7684\u7ecf\u9a8c\u7422\u78e8\u4e86\u4e00\u4e0bidea,\u73b0\u628aidea\u4e0bsvn\u7684\u4f7f\u7528\u65b9\u6cd5\u8bb0\u5f55\u5982\u4e0b \u4e3b\u2026","rel":"","context":"\u5728\u201c\u5de5\u5177\u201d\u4e2d","block_context":{"text":"\u5de5\u5177","link":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/category\/%e5%b7%a5%e5%85%b7\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dl2.iteye.com\/upload\/attachment\/0090\/0741\/32c66222-7432-31e3-a8f5-77d3d83e15d9.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dl2.iteye.com\/upload\/attachment\/0090\/0741\/32c66222-7432-31e3-a8f5-77d3d83e15d9.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/dl2.iteye.com\/upload\/attachment\/0090\/0741\/32c66222-7432-31e3-a8f5-77d3d83e15d9.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/dl2.iteye.com\/upload\/attachment\/0090\/0741\/32c66222-7432-31e3-a8f5-77d3d83e15d9.png?resize=700%2C400 2x"},"classes":[]},{"id":165,"url":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2019\/01\/04\/svn%e8%b7%a8%e5%b9%b3%e5%8f%b0%e8%bf%81%e7%a7%bblinux%e5%88%b0windows\/","url_meta":{"origin":123,"position":4},"title":"SVN\u8de8\u5e73\u53f0\u8fc1\u79fb(linux\u5230windows)","author":"\u6770\u514b\u9648","date":"2019\u5e741\u67084\u65e5","format":false,"excerpt":"SVN\u4ecelinux\u8fc1\u79fb\u5230winserver","rel":"","context":"\u5728\u201c\u8fd0\u7ef4\u201d\u4e2d","block_context":{"text":"\u8fd0\u7ef4","link":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/category\/%e8%bf%90%e7%bb%b4\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chenhaitao.com\/.wp-toolkit_I\/wp-content\/uploads\/2019\/01\/WX20190104-093210%402x-300x245.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":121,"url":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/2018\/05\/08\/%e8%bd%accentos7-%e4%b8%8b-%e5%ae%89%e8%a3%85git-%e5%b9%b6%e5%ae%9e%e7%8e%b0%e8%87%aa%e5%8a%a8%e9%83%a8%e7%bd%b2\/","url_meta":{"origin":123,"position":5},"title":"[\u8f6c]centos7 \u4e0b \u5b89\u88c5git \u5e76\u5b9e\u73b0\u81ea\u52a8\u90e8\u7f72","author":"\u6770\u514b\u9648","date":"2018\u5e745\u67088\u65e5","format":false,"excerpt":"1\u3001\u9996\u5148\u9700\u8981\u5b89\u88c5Git\uff0c\u53ef\u4ee5\u4f7f\u7528yum\u6e90\u5728\u7ebf\u5b89\u88c5\uff1a yum install -y git 2\u3001\u521b\u5efa\u4e00\u2026","rel":"","context":"\u5728\u201c\u5f00\u53d1\u201d\u4e2d","block_context":{"text":"\u5f00\u53d1","link":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/category\/%e5%bc%80%e5%8f%91\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":1,"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/posts\/123\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chenhaitao.com\/.wp-toolkit_I\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}