{"id":330,"date":"2020-02-12T18:55:28","date_gmt":"2020-02-12T10:55:28","guid":{"rendered":"https:\/\/maofun.com\/?p=330"},"modified":"2020-02-12T18:55:28","modified_gmt":"2020-02-12T10:55:28","slug":"github%e4%b8%8ecoding%e5%8f%8c%e7%ba%bf%e9%83%a8%e7%bd%b2hexo%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/maofun.com\/330.html","title":{"rendered":"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b"},"content":{"rendered":"<p>\u4eca\u5929\u60f3\u6253\u5f00\u6211\u7684<span class=\"external-link\">wiki\u7ad9<\/span>\u770b\u4e00\u4e9b\u7b14\u8bb0\uff0c\u4f46\u662f\u6253\u5f00\u901f\u5ea6\u6709\u70b9\u6311\u6218\u6211\u7684\u8010\u5fc3\u4e86\uff0c\u4e8e\u662f\u51b3\u5b9a\u628awiki\u7ad9\u540c\u6b65\u5230\u56fd\u5185\u7684git\u670d\u52a1\u5546\u4e00\u4efd\uff0c\u8fd9\u6837\u5e94\u8be5\u5c31\u5feb\u4e0d\u5c11\u3002<\/p>\n<p>\u56e0\u4e3a\u6211\u6240\u7528\u7684\u4e3b\u9898\u7684\u4f7f\u7528\u6587\u6863\u90e8\u7f72\u5728coding\uff0c\u5c31\u51b3\u5b9a\u662f\u4f60\u4e86\uff01<\/p>\n<p>\u672c\u4ee5\u4e3a\u662f\u4e2a\u5f88\u7b80\u5355\u7684\u5de5\u4f5c\uff0c\u6ca1\u60f3\u5230\u5b9e\u9645\u64cd\u4f5c\u8d77\u6765\u8fd8\u662f\u6709\u70b9\u9ebb\u70e6\u7684\uff0c\u51b3\u5b9a\u505a\u4e2a\u7b14\u8bb0\u3002<\/p>\n<div data-unique=\"\u90e8\u7f72\u5230coding\u4e0a\"><\/div>\n<h2>\u90e8\u7f72\u5230coding\u4e0a<\/h2>\n<p>\u8fdb\u5165\u817e\u8baf\u5f00\u53d1\u8005\u5e73\u53f0\uff0c\u6ce8\u518c\u8d26\u53f7\u5e76\u767b\u5f55\u3002\u6ca1\u9519\uff0ccoding\u5df2\u7ecf\u88ab\u817e\u8baf\u6536\u8d2d\u4e86\uff0c\u4e24\u4e2a\u5176\u5b9e\u662f\u4e00\u6837\u7684\u3002\uff08\u800c\u4e14coding\u6211\u4e00\u8fdb\u53bb\u5c31\u662f\u56e2\u961f\u754c\u9762\uff0c\u90fd\u4e0d\u77e5\u9053\u4ee3\u7801\u5728\u54ea\uff0c\u66f4\u522b\u8bf4page\u670d\u52a1\u4e86\u2026\u2026\uff09<\/p>\n<p>\u548cgithub\u4e00\u6837\uff0c\u5728\u4e2a\u4eba\u8bbe\u7f6e\u4e2d\u6dfb\u52a0SSH\u516c\u94a5\uff0c\u53ef\u4ee5\u7528\u4e4b\u524dgithub\u5df2\u7ecf\u751f\u6210\u7684\uff0c\u4e00\u822c\u5728<code>C:\\Users\\\u7528\u6237\u540d\\.ssh\\id_rsa.pub<\/code>\u4e2d\uff0c\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\uff0c\u590d\u5236\u8fdb\u53bb\u5373\u53ef\u3002<\/p>\n<blockquote><p>\u5982\u679c\u518d\u751f\u6210\u4e00\u4e2a\u516c\u94a5\u7684\u8bdd\u4e5f\u4e0d\u662f\u4e0d\u53ef\u4ee5\uff0c\u4f46\u662f\u5bb9\u6613\u628a\u539f\u6765\u7684\u516c\u94a5\u6587\u4ef6\u66ff\u6362\u5230\uff0c\u7136\u540e\u4f60\u5c31\u65e0\u6cd5git\u5230github\u4e86\u3002<\/p><\/blockquote>\n<p>\u7136\u540e\u6dfb\u52a0\u4e00\u4e2a\u9879\u76ee\uff08\u5410\u69fd\u4e00\u53e5\u8fd9\u4e2a\u6309\u94ae\u771f\u96be\u627e\u5230\uff09<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/94498-20191105003551235_14690.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/94498-20191105003551235_14690.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c1\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c1\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<p>\u5176\u4e2d\uff0c\u9879\u76ee\u5730\u5740\u5fc5\u987b\u586b<code>\u7528\u6237\u540d.coding.me<\/code>\uff0c\u6bd4\u5982\u6211\u7684\u5c31\u662f<code>caly5144.coding.me<\/code><\/p>\n<p>\u7136\u540e\u4fee\u6539\u7ad9\u70b9\u914d\u7f6e\u6587\u4ef6<code>_config.yml<\/code>\uff0c\u62c9\u5012\u6700\u5e95\u4e0b\u6dfb\u52a0<code>coding<\/code>\uff1a<\/p>\n<div class=\"code-toolbar\">\n<pre class=\"line-numbers language-git\"><code class=\" language-git\">deploy:\r\n  type: git\r\n  repo: \r\n        github: git@github.com:caly5144\/caly5144.github.io.git \r\n        coding: git@git.dev.tencent.com:caly5144\/caly5144.coding.me.git\r\n  branch: master<\/code><\/pre>\n<div class=\"shelter\"><\/div>\n<div class=\"toolbar\">\n<div class=\"toolbar-item\">Git<\/div>\n<div class=\"toolbar-item\"><button><i id=\"btn-copy-code\" class=\"fontello fontello-tags\">\u00a0\u590d\u5236<\/i><\/button><\/div>\n<\/div>\n<\/div>\n<p>\u5176\u4e2dcoding\u7684git\u5730\u5740\u53ef\u4ee5\u5728\u9879\u76ee\u53f3\u4e0a\u89d2\u627e\u5230\u3002<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/c62c4-20191105004354622_24713.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/c62c4-20191105004354622_24713.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c2\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c2\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<p>\u63a5\u4e0b\u6765\u5c31\u662f\u559c\u95fb\u4e50\u89c1\u7684<code>hexo g -d<\/code><\/p>\n<p>\u5237\u65b0\u4e00\u4e0b\u770b\u770b\u4ee3\u7801\u662f\u5426\u4e0a\u4f20\u6210\u529f<\/p>\n<p>\u7136\u540e\u627e\u5230\u9879\u76ee\u7684<code>pages\u670d\u52a1<\/code>\uff0c\u6ce8\u610f\u5230\u53f3\u4e0a\u89d2\u6709\u4e2a\u5c0f\u87ba\u4e1d\u9489\u6807\u8bc6\uff0c\u70b9\u51fb\u5b83\u3002<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/4e623-20191105004612256_4226.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/4e623-20191105004612256_4226.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c3\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c3\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<p>\u6700\u540e\u4e00\u6b65\u5c31\u662f\u90e8\u7f72<code>master\u5206\u652f<\/code>\uff0c\u90e8\u7f72\u5b8c\u6210\u540e\u5c31\u53ef\u4ee5\u901a\u8fc7caly5144.coding.me\u8bbf\u95ee\u4f60\u7684\u7f51\u7ad9\u4e86<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/aaaf0-20191105004719214_5420.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/aaaf0-20191105004719214_5420.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c4\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c4\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<div data-unique=\"\u81ea\u5b9a\u4e49\u57df\u540d\"><\/div>\n<h2>\u81ea\u5b9a\u4e49\u57df\u540d<\/h2>\n<p>\u5982\u679c\u4f60\u60f3\u8981\u6dfb\u52a0\u81ea\u5df1\u7684\u57df\u540d\u7684\u8bdd\uff0c\u9996\u5148\u53bb\u57df\u540d\u670d\u52a1\u5546\u90a3\u91cc\u4fee\u6539github\u7684CHAME\u89e3\u6790\uff0c\u89e3\u6790\u7ebf\u8def\u4e3a\u5883\u5916\uff0c\u8fd9\u6837\u6240\u6709\u5883\u5916\u7684\u8bbf\u95ee\u90fd\u4f1a\u8df3\u8f6c\u5230github<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/50cf4-20191105005039667_15259.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/50cf4-20191105005039667_15259.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c5\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c5\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<p>\u7136\u540e\u518d\u6dfb\u52a0\u4e2a<code>wiki<\/code>\u7684CHAME\u89e3\u6790\uff0c\u8bb0\u5f55\u503c\u4e3a<code>caly5144.coding.me<\/code>\uff08\u5b83\u4f1a\u63d0\u793a\u4f60\u7684\uff09\uff0c\u89e3\u6790\u7ebf\u8def\u9009<code>\u9ed8\u8ba4<\/code>\uff0c\u8fd9\u6837\u5883\u5185\u7684\u8bbf\u95ee\u4f1a\u8df3\u8f6c\u5230coding\u3002<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u52a0https\uff0c\u90a3\u4e48\u8bf7\u6ce8\u610f\uff01<\/p>\n<div class=\"tip inlineBlock warning\">\u5148\u628agithub\u7684\u89e3\u6790\u505c\u6389\uff01<\/div>\n<p>\u6211\u4e00\u5f00\u59cb\u4e5f\u4e0d\u77e5\u9053\uff0c\u7136\u540e\u8d38\u7136\u7533\u8bf7SSL\u8bc1\u4e66\uff0c\u7ed3\u679c\u63d0\u793a\u7533\u8bf7\u5931\u8d25\uff0c\u518d\u6b21\u70b9\u51fb\u7684\u65f6\u5019\u5c31\u63d0\u793a\u621130\u5206\u949f\u540e\u624d\u80fd\u7533\u8bf7\u4e86\u3002\u5728\u5176\u4ed6<span class=\"external-link\"><a href=\"https:\/\/blog.csdn.net\/lewky_liu\/article\/details\/82432045\" target=\"_blank\" rel=\"noopener noreferrer\">\u6587\u7ae0<\/a><\/span>\u4e2d\uff0c\u6709\u535a\u4e3b\u63d0\u5230\u4e86\u8fd9\u4e2a\u95ee\u9898\uff0c\u4f3c\u4e4ecoding\u4e0d\u5141\u8bb8\u540c\u65f6\u6709\u591a\u4e2a\u76f8\u540c\u7684CHAME\u89e3\u6790\uff0c\u53ea\u80fd\u5148\u505c\u6389github\u4e86\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u5c31\u7b80\u5355\u4e86\uff0c\u7533\u8bf7\u7136\u540e\u5f3a\u5236https\u8bbf\u95ee\uff0c\u518d\u628agithub\u7684\u89e3\u6790\u6253\u5f00\u3002\u9700\u8981\u6ce8\u610f\u7684\u662fcoding\u7684\u8bc1\u4e66\u53ea\u6709\u4e09\u4e2a\u6708\u6709\u6548\u671f\uff0c\u4e09\u4e2a\u6708\u540e\u4f60\u8981\u518d\u6b21\u7533\u8bf7\u3002\u522b\u5fd8\u4e86\u8fd8\u662f\u8981\u5148\u505c\u6389github\u7684\u89e3\u6790\u518d\u7533\u8bf7\u3002<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/b2278-20191105005740972_5243.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/b2278-20191105005740972_5243.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c6\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c6\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<p>\u5b8c\u5de5\uff01\u6d4b\u8bd5\u4e00\u4e0b\uff1f<\/p>\n<p>ping\u4e00\u4e0b\u57df\u540d<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/5b6c5-20191105010508501_10499.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/5b6c5-20191105010508501_10499.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c7\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c7\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<p>\u6302\u4e2a\u4ee3\u7406\u518dping\u4e00\u4e0b<\/p>\n<p><a class=\"light-link\" href=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/cc0f0-20191105010528682_17123.png\" data-fancybox=\"gallery\" data-type=\"image\" data-caption=\"\" loading=\"lazy\" rel=\"sponsored\" data-fancybox=\"gallery\"><img decoding=\"async\" class=\"block\" src=\"https:\/\/maofun.com\/wp-content\/uploads\/2020\/02\/cc0f0-20191105010528682_17123.png\" \/ alt=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c8\u5f20\u56fe\u7247\" title=\"github\u4e0ecoding\u53cc\u7ebf\u90e8\u7f72hexo\u6559\u7a0b - \u7b2c8\u5f20\u56fe\u7247 | \u732b\u996d\" ><\/a><\/p>\n<p>\u989d\u2026\u2026\u4e0d\u660e\u767d\u4e3a\u4ec0\u4e48\uff0c\u4f46\u662f\u7f51\u7ad9\u8fd8\u662f\u80fd\u6253\u5f00\u7684\uff0c\u65e0\u4f24\u5927\u96c5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u60f3\u6253\u5f00\u6211\u7684wiki\u7ad9\u770b\u4e00\u4e9b\u7b14\u8bb0\uff0c\u4f46\u662f\u6253\u5f00\u901f\u5ea6\u6709\u70b9\u6311\u6218\u6211\u7684\u8010\u5fc3\u4e86\uff0c\u4e8e\u662f\u51b3\u5b9a\u628awiki\u7ad9\u540c\u6b65\u5230\u56fd\u5185\u7684git\u670d\u52a1\u5546\u4e00\u4efd\uff0c\u8fd9\u6837\u5e94\u8be5\u5c31\u5feb\u4e0d\u5c11\u3002 \u56e0\u4e3a\u6211\u6240\u7528\u7684\u4e3b\u9898\u7684\u4f7f\u7528\u6587\u6863\u90e8\u7f72\u5728coding\uff0c\u5c31\u51b3\u5b9a\u662f\u4f60\u4e86\uff01 \u672c\u4ee5\u4e3a\u662f\u4e2a\u5f88\u7b80\u5355\u7684\u5de5\u4f5c\uff0c\u6ca1\u60f3\u5230\u5b9e\u9645\u64cd\u4f5c\u8d77\u6765\u8fd8\u662f\u6709\u70b9\u9ebb\u70e6\u7684\uff0c\u51b3\u5b9a\u505a\u4e2a\u7b14\u8bb0\u3002 \u90e8\u7f72\u5230coding\u4e0a \u8fdb\u5165\u817e\u8baf\u5f00\u53d1\u8005\u5e73\u53f0\uff0c\u6ce8\u518c\u8d26\u53f7\u5e76\u767b\u5f55\u3002\u6ca1\u9519\uff0ccoding\u5df2\u7ecf\u88ab\u817e\u8baf\u6536\u8d2d\u4e86\uff0c\u4e24\u4e2a\u5176\u5b9e\u662f\u4e00\u6837\u7684\u3002\uff08\u800c\u4e14coding\u6211\u4e00\u8fdb\u53bb\u5c31\u662f\u56e2\u961f\u754c\u9762\uff0c\u90fd\u4e0d\u77e5\u9053\u4ee3\u7801\u5728\u54ea\uff0c\u66f4\u522b\u8bf4page\u670d\u52a1\u4e86\u2026\u2026\uff09 \u548cgithub\u4e00\u6837\uff0c\u5728\u4e2a\u4eba\u8bbe\u7f6e\u4e2d\u6dfb\u52a0SSH\u516c\u94a5\uff0c\u53ef\u4ee5\u7528\u4e4b\u524dgithub\u5df2\u7ecf\u751f\u6210\u7684\uff0c\u4e00\u822c\u5728C:\\Users\\\u7528\u6237\u540d\\.ssh\\id&#8230;&#8230;<span class=\"read-more\"> <a href=\"https:\/\/maofun.com\/330.html\"><\/p>\n<p>\u7ee7\u7eed\u9605\u8bfb&raquo;&raquo;&raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[166,135,167],"_links":{"self":[{"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/posts\/330"}],"collection":[{"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":0,"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"wp:attachment":[{"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maofun.com\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}