{"id":81857,"date":"2026-07-25T04:43:12","date_gmt":"2026-07-24T20:43:12","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/81857.html"},"modified":"2026-07-25T04:43:12","modified_gmt":"2026-07-24T20:43:12","slug":"%e3%80%90win10-%e9%83%a8%e7%bd%b2%e7%a7%81%e6%9c%89-git-%e6%9c%8d%e5%8a%a1%e5%99%a8-gogs-%e5%ae%8c%e5%85%a8%e6%8c%87%e5%8d%97%e3%80%91","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/81857.html","title":{"rendered":"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u5728 Windows \u73af\u5883\u4e0b\u642d\u5efa\u79c1\u6709\u7684 Git \u4ee3\u7801\u6258\u7ba1\u670d\u52a1&#xff0c;Gogs \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4e14\u6613\u4e8e\u90e8\u7f72\u7684\u4f18\u79c0\u9009\u62e9\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728 Windows 10 \u4e0a\u5b89\u88c5 Gogs\u3001\u914d\u7f6e\u4e3a\u7cfb\u7edf\u670d\u52a1\u3001\u8fdb\u884c\u6570\u636e\u8fc1\u79fb\u4ee5\u53ca\u89e3\u51b3\u5e38\u89c1\u7684\u6743\u9650\u4e0e\u63a8\u9001\u9519\u8bef\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8d44\u6e90\u4e0b\u8f7d<\/h3>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u5df2\u51c6\u5907\u597d\u4ee5\u4e0b\u8d44\u6e90&#xff1a;<\/p>\n<li>Gogs \u5b89\u88c5\u5305\n<ul>\n<li>\u5b98\u7f51\u4e0b\u8f7d&#xff1a;https:\/\/dl.gogs.io\/<\/li>\n<li>GitHub \u4ed3\u5e93&#xff1a;https:\/\/github.com\/gogs\/gogs<\/li>\n<li>\u5b98\u65b9\u5b89\u88c5\u6587\u6863&#xff1a;Install from Binary<\/li>\n<\/ul>\n<\/li>\n<li>NSSM (Non-Sucking Service Manager)\n<ul>\n<li>\u7528\u4e8e\u5c06 Gogs \u6ce8\u518c\u4e3a Windows \u7cfb\u7edf\u670d\u52a1&#xff0c;\u5b9e\u73b0\u5f00\u673a\u81ea\u542f\u3002<\/li>\n<li>\u4e0b\u8f7d\u5730\u5740&#xff1a;https:\/\/nssm.cc\/download<\/li>\n<\/ul>\n<\/li>\n<li>\u53c2\u8003\u6559\u7a0b\n<ul>\n<li>\u82e5\u9047\u7591\u96be&#xff0c;\u53ef\u53c2\u8003\u77e5\u4e4e\u3001CSDN \u6216\u535a\u5ba2\u56ed\u7684\u76f8\u5173\u90e8\u7f72\u6587\u7ae0&#xff08;\u5982\u201cWindows\u4e0b\u5982\u4f55\u642d\u5efa\u5c5e\u4e8e\u81ea\u5df1\u7684git\u670d\u52a1\u5668\u201d&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h3>\u4e8c\u3001Gogs \u5b89\u88c5\u4e0e\u914d\u7f6e<\/h3>\n<h4>1. \u89e3\u538b\u4e0e\u76ee\u5f55\u89c4\u5212<\/h4>\n<p>\u5efa\u8bae\u89c4\u5212\u7edf\u4e00\u7684\u5de5\u5177\u76ee\u5f55&#xff0c;\u4f8b\u5982 D:\\\\tools\u3002<\/p>\n<ul>\n<li>\u5c06\u4e0b\u8f7d\u7684 gogs_0.13.0_windows_amd64.zip \u89e3\u538b\u81f3 D:\\\\tools\\\\gogs\u3002<\/li>\n<li>\u5c06 NSSM \u89e3\u538b\u81f3 D:\\\\tools\\\\nssm-2.24\\\\win64\u3002<\/li>\n<\/ul>\n<h4>2. \u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h4>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u547d\u4ee4\u884c\u8c03\u7528&#xff0c;\u5efa\u8bae\u5c06 NSSM \u7684\u8def\u5f84\u52a0\u5165\u7cfb\u7edf\u73af\u5883\u53d8\u91cf Path \u4e2d&#xff1a;<\/p>\n<ul>\n<li>\u6dfb\u52a0\u8def\u5f84&#xff1a;D:\\\\tools\\\\nssm-2.24\\\\win64<\/li>\n<\/ul>\n<h4>3. \u6ce8\u518c\u4e3a\u7cfb\u7edf\u670d\u52a1<\/h4>\n<p>\u4e3a\u4e86\u8ba9 Gogs \u5728\u540e\u53f0\u7a33\u5b9a\u8fd0\u884c\u5e76\u968f\u7cfb\u7edf\u542f\u52a8&#xff0c;\u9700\u5c06\u5176\u6ce8\u518c\u4e3a\u670d\u52a1\u3002<\/p>\n<li>\n<p>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26&#xff08;CMD&#xff09;\u6216 PowerShell\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fdb\u5165 Gogs \u7684\u811a\u672c\u76ee\u5f55&#xff1a;<\/p>\n<p> cd D:\\\\tools\\\\gogs\\\\scripts\\\\windows\n <\/li>\n<li>\n<p>\u6267\u884c\u5b89\u88c5\u811a\u672c&#xff1a;<\/p>\n<p> install-as-service.bat<\/p>\n<p>\u6ce8&#xff1a;\u6b64\u811a\u672c\u901a\u5e38\u4f1a\u81ea\u52a8\u8c03\u7528 NSSM \u8fdb\u884c\u670d\u52a1\u6ce8\u518c\u3002\u5982\u679c\u811a\u672c\u6267\u884c\u5931\u8d25&#xff0c;\u4e5f\u53ef\u624b\u52a8\u4f7f\u7528 nssm install gogs \u547d\u4ee4\u8fdb\u884c\u56fe\u5f62\u5316\u914d\u7f6e\u3002<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u670d\u52a1&#xff1a;\u6253\u5f00 Windows\u201c\u670d\u52a1\u201d\u7ba1\u7406\u5668&#xff0c;\u67e5\u627e\u540d\u4e3a gogs \u7684\u670d\u52a1&#xff0c;\u786e\u4fdd\u5176\u72b6\u6001\u4e3a\u201c\u6b63\u5728\u8fd0\u884c\u201d\u3002<\/p>\n<\/li>\n<h4>4. \u521d\u59cb\u5316\u5b89\u88c5<\/h4>\n<li>\u6d4f\u89c8\u5668\u8bbf\u95ee\u9ed8\u8ba4\u5730\u5740&#xff1a;http:\/\/127.0.0.1:3000\/install<\/li>\n<li>\u6570\u636e\u5e93\u8bbe\u7f6e&#xff1a;\u521d\u6b21\u5b89\u88c5\u53ef\u9009\u62e9\u5185\u7f6e\u6570\u636e\u5e93&#xff08;SQLite3&#xff09;\u6216\u8fde\u63a5\u5916\u90e8\u6570\u636e\u5e93&#xff08;MySQL\/PostgreSQL&#xff09;\u3002<\/li>\n<li>\u5e94\u7528\u8bbe\u7f6e&#xff1a;\n<ul>\n<li>\u57fa\u7840 URL&#xff1a;\u6839\u636e\u5b9e\u9645\u8bbf\u95ee IP \u4fee\u6539&#xff08;\u5982 http:\/\/192.168.1.100:3000\/&#xff09;\u3002<\/li>\n<li>SSH \u7aef\u53e3&#xff1a;\u9ed8\u8ba4\u662f 22\u3002\u5982\u679c Windows \u5df2\u5f00\u542f OpenSSH \u670d\u52a1&#xff0c;\u5efa\u8bae\u4fee\u6539\u4e3a\u5176\u4ed6\u7aef\u53e3&#xff08;\u5982 2222&#xff09;\u4ee5\u907f\u514d\u51b2\u7a81\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb\u201c\u7acb\u5373\u5b89\u88c5\u201d\u3002<\/li>\n<h4>5. \u9632\u706b\u5899\u914d\u7f6e<\/h4>\n<p>\u82e5\u9700\u5c40\u57df\u7f51\u5185\u5176\u4ed6\u673a\u5668\u8bbf\u95ee&#xff0c;\u9700\u5728 Windows \u9632\u706b\u5899\u4e2d\u653e\u884c\u5bf9\u5e94\u7aef\u53e3&#xff1a;<\/p>\n<ul>\n<li>HTTP \u7aef\u53e3&#xff1a;\u9ed8\u8ba4 3000&#xff08;\u82e5\u4fee\u6539\u8fc7\u8bf7\u4ee5\u5b9e\u9645\u4e3a\u51c6&#xff09;\u3002<\/li>\n<li>SSH \u7aef\u53e3&#xff1a;\u9ed8\u8ba4 22 \u6216\u81ea\u5b9a\u4e49\u7684 2222\u3002<\/li>\n<\/ul>\n<p>\u6ce8\u610f&#xff1a;\u5982\u679c\u4fee\u6539\u4e86\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u7aef\u53e3\u53f7&#xff0c;\u5fc5\u987b\u91cd\u542f Gogs \u670d\u52a1\u624d\u80fd\u751f\u6548\u3002 \u91cd\u542f\u547d\u4ee4&#xff08;\u7ba1\u7406\u5458\u6743\u9650&#xff09;&#xff1a;<\/p>\n<p> net stop gogs<br \/>\nnet start gogs<\/p>\n<p>\u6216\u8005\u5728\u201c\u670d\u52a1\u201d\u7ba1\u7406\u5668\u4e2d\u53f3\u952e\u91cd\u542f\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u6570\u636e\u8fc1\u79fb\u65b9\u6848<\/h3>\n<p>\u5f53\u9700\u8981\u66f4\u6362\u670d\u52a1\u5668\u6216\u91cd\u88c5\u7cfb\u7edf\u65f6&#xff0c;\u6570\u636e\u8fc1\u79fb\u662f\u5173\u952e\u6b65\u9aa4\u3002<\/p>\n<h4>1. \u8fc1\u79fb\u65b9\u6cd5\u5bf9\u6bd4<\/h4>\n<ul>\n<li>\u5b98\u65b9\u5907\u4efd\u547d\u4ee4&#xff08;\u63a8\u8350\u4f46\u9700\u6ce8\u610f\u7248\u672c\u517c\u5bb9\u6027&#xff09;&#xff1a;.\\\\gogs backup  # Windows<br \/>\n.\/gogs backup  # Linux<br \/>\n# \u6392\u9664\u4ed3\u5e93\u6587\u4ef6&#xff08;\u4ec5\u5907\u4efd\u914d\u7f6e\u548c\u6570\u636e\u5e93&#xff09;<br \/>\n.\\\\gogs backup &#8211;exclude-repos<br \/>\n# \u6307\u5b9a\u914d\u7f6e\u6587\u4ef6<br \/>\n.\\\\gogs backup &#8211;config&#061;my\/custom\/conf\/app.ini\n <\/li>\n<li>\u76f4\u63a5\u62f7\u8d1d\u6cd5&#xff08;\u672c\u6587\u91c7\u7528&#xff09;&#xff1a; \u76f4\u63a5\u590d\u5236\u6574\u4e2a gogs \u5b89\u88c5\u76ee\u5f55&#xff08;\u5305\u542b conf, data, log \u7b49&#xff09;\u4ee5\u53ca gogs-repositories \u4ed3\u5e93\u76ee\u5f55\u5230\u65b0\u673a\u5668\u8986\u76d6\u3002<\/li>\n<\/ul>\n<h4>2. \u8fc1\u79fb\u540e\u7684\u5e38\u89c1\u95ee\u9898\u4e0e\u4fee\u590d<\/h4>\n<p>\u76f4\u63a5\u62f7\u8d1d\u6570\u636e\u540e&#xff0c;\u5e38\u56e0\u6587\u4ef6\u6240\u6709\u8005\u6216\u6570\u636e\u5e93\u7528\u6237ID\u4e0d\u5339\u914d\u5bfc\u81f4\u6743\u9650\u9519\u8bef&#xff08;\u5982\u9875\u9762\u663e\u793a 500 \u9519\u8bef&#xff0c;\u6216\u65e0\u6cd5\u63a8\u9001\u4ee3\u7801&#xff09;\u3002<\/p>\n<h5>\u73b0\u8c61\u63cf\u8ff0<\/h5>\n<p>\u767b\u5f55\u65b0\u670d\u52a1\u5668\u540e&#xff0c;\u53d1\u73b0\u539f\u6709\u4ed3\u5e93\u7684\u62e5\u6709\u8005\u663e\u793a\u5f02\u5e38&#xff0c;\u6216\u8005\u65b0\u5efa\u4ed3\u5e93\u7684\u62e5\u6709\u8005\u662f\u5f53\u524d\u767b\u5f55\u7684\u7ba1\u7406\u5458\u8d26\u53f7&#xff0c;\u800c\u975e\u539f\u59cb\u6570\u636e\u7684\u5f52\u5c5e\u8005\u3002<\/p>\n<h5>\u89e3\u51b3\u65b9\u6848&#xff1a;\u4fee\u6b63\u6570\u636e\u5e93\u6240\u6709\u6743<\/h5>\n<p>\u9700\u8981\u901a\u8fc7\u76f4\u63a5\u64cd\u4f5c Gogs \u7684\u6570\u636e\u5e93&#xff08;\u901a\u5e38\u662f gogs.db SQLite \u6587\u4ef6\u6216 MySQL \u6570\u636e\u5e93&#xff09;\u6765\u4fee\u6b63 owner_id\u3002<\/p>\n<p>\u6b65\u9aa4\u6f14\u793a&#xff1a;<\/p>\n<li>\n<p>\u786e\u8ba4\u7528\u6237 ID&#xff1a; \u767b\u5f55 Gogs \u7f51\u9875&#xff0c;\u67e5\u770b\u76ee\u6807\u7528\u6237\u7684\u4e2a\u4eba\u4e3b\u9875 URL&#xff0c;\u6216\u76f4\u63a5\u67e5\u8be2\u6570\u636e\u5e93 user \u8868\u3002 \u5047\u8bbe\u76ee\u6807\u7528\u6237 rady \u7684 ID \u4e3a 1&#xff0c;\u65b0\u7528\u6237 yf \u7684 ID \u4e3a 2\u3002<\/p>\n<\/li>\n<li>\n<p>\u4fee\u6b63\u4ed3\u5e93\u6240\u6709\u8005 (repository \u8868)&#xff1a; \u5c06\u7279\u5b9a\u4ed3\u5e93\u7684\u6240\u6709\u8005 ID \u4fee\u6539\u4e3a\u6b63\u786e\u7684\u7528\u6237 ID\u3002<\/p>\n<p> <span class=\"token comment\">&#8212; \u793a\u4f8b&#xff1a;\u5c06\u540d\u4e3a &#039;demo&#039; \u7684\u4ed3\u5e93\u6240\u6709\u8005\u8bbe\u4e3a ID \u4e3a 1 \u7684\u7528\u6237<\/span><br \/>\n<span class=\"token keyword\">UPDATE<\/span> <span class=\"token string\">&#034;repository&#034;<\/span><br \/>\n<span class=\"token keyword\">SET<\/span> <span class=\"token string\">&#034;owner_id&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;lower_name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;demo&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;demo&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;description&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;demo\u6d4b\u8bd5&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;is_bare&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span><br \/>\n<span class=\"token keyword\">WHERE<\/span> <span class=\"token string\">&#034;lower_name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;demo&#039;<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<li>\n<p>\u4fee\u6b63\u5173\u6ce8\u5173\u7cfb (watch \u8868)&#xff1a; \u786e\u4fdd\u5173\u6ce8\u8bb0\u5f55\u7684\u7528\u6237 ID \u4e0e\u4ed3\u5e93\u6240\u6709\u8005\u4e00\u81f4\u3002<\/p>\n<p> <span class=\"token keyword\">UPDATE<\/span> <span class=\"token string\">&#034;watch&#034;<\/span><br \/>\n<span class=\"token keyword\">SET<\/span> <span class=\"token string\">&#034;user_id&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token keyword\">WHERE<\/span> <span class=\"token string\">&#034;repo_id&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">SELECT<\/span> <span class=\"token string\">&#034;id&#034;<\/span> <span class=\"token keyword\">FROM<\/span> <span class=\"token string\">&#034;repository&#034;<\/span> <span class=\"token keyword\">WHERE<\/span> <span class=\"token string\">&#034;lower_name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;demo&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<li>\n<p>\u4fee\u6b63\u52a8\u6001\u8bb0\u5f55 (action \u8868)&#xff1a; \u4fee\u590d\u65f6\u95f4\u7ebf\u548c\u52a8\u6001\u53cd\u9988\u4e2d\u7684\u7528\u6237\u5f15\u7528\u3002<\/p>\n<p> <span class=\"token keyword\">UPDATE<\/span> <span class=\"token string\">&#034;action&#034;<\/span><br \/>\n<span class=\"token keyword\">SET<\/span> <span class=\"token string\">&#034;user_id&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;repo_user_name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;rady&#039;<\/span><br \/>\n<span class=\"token keyword\">WHERE<\/span> <span class=\"token string\">&#034;repo_id&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">SELECT<\/span> <span class=\"token string\">&#034;id&#034;<\/span> <span class=\"token keyword\">FROM<\/span> <span class=\"token string\">&#034;repository&#034;<\/span> <span class=\"token keyword\">WHERE<\/span> <span class=\"token string\">&#034;lower_name&#034;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;demo&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<li>\n<p>\u6279\u91cf\u4fee\u590d\u811a\u672c\u793a\u4f8b&#xff1a; \u5982\u679c\u6709\u591a\u4e2a\u4ed3\u5e93\u9700\u8981\u8fc1\u79fb\u7ed9\u65b0\u7528\u6237&#xff08;\u4f8b\u5982\u7528\u6237 ID 7&#xff0c;\u7528\u6237\u540d op&#xff09;&#xff1a;<\/p>\n<p> <span class=\"token comment\">&#8212; \u4fee\u6539\u4ed3\u5e93\u6240\u6709\u8005<\/span><br \/>\n<span class=\"token keyword\">UPDATE<\/span> <span class=\"token string\">&#034;repository&#034;<\/span> <span class=\"token keyword\">SET<\/span> owner_id <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">7<\/span> <span class=\"token keyword\">WHERE<\/span> lower_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;bat-samples&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u4fee\u6539\u5173\u6ce8\u8bb0\u5f55<\/span><br \/>\n<span class=\"token keyword\">UPDATE<\/span> <span class=\"token string\">&#034;watch&#034;<\/span> <span class=\"token keyword\">SET<\/span> user_id <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">7<\/span><br \/>\n<span class=\"token keyword\">WHERE<\/span> repo_id <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">SELECT<\/span> id <span class=\"token keyword\">FROM<\/span> <span class=\"token string\">&#034;repository&#034;<\/span> <span class=\"token keyword\">WHERE<\/span> lower_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;bat-samples&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u4fee\u6539\u52a8\u6001\u8bb0\u5f55<\/span><br \/>\n<span class=\"token keyword\">UPDATE<\/span> <span class=\"token string\">&#034;action&#034;<\/span> <span class=\"token keyword\">SET<\/span> user_id <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">7<\/span><span class=\"token punctuation\">,<\/span> repo_user_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;op&#039;<\/span><br \/>\n<span class=\"token keyword\">WHERE<\/span> repo_id <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token keyword\">SELECT<\/span> id <span class=\"token keyword\">FROM<\/span> <span class=\"token string\">&#034;repository&#034;<\/span> <span class=\"token keyword\">WHERE<\/span> lower_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;bat-samples&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<li>\n<p>\u6dfb\u52a0\u534f\u4f5c\u8005\u6743\u9650&#xff1a; \u5982\u679c\u9700\u8981\u7ed9\u7528\u6237\u8d4b\u4e88\u7279\u5b9a\u4ed3\u5e93\u7684\u5199\u5165\u6743\u9650&#xff0c;\u9700\u540c\u65f6\u5728 access \u548c collaboration \u8868\u4e2d\u63d2\u5165\u8bb0\u5f55\u3002<\/p>\n<p> <span class=\"token comment\">&#8212; \u6a21\u5f0f 2 \u4ee3\u8868\u5199\u6743\u9650 (Write)&#xff0c;\u6a21\u5f0f 1 \u4ee3\u8868\u8bfb\u6743\u9650 (Read)<\/span><br \/>\n<span class=\"token keyword\">INSERT<\/span> <span class=\"token keyword\">INTO<\/span> <span class=\"token string\">&#034;access&#034;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;user_id&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;repo_id&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;mode&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">VALUES<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">579<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">INSERT<\/span> <span class=\"token keyword\">INTO<\/span> <span class=\"token string\">&#034;collaboration&#034;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;user_id&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;repo_id&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;mode&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">VALUES<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">579<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\n <\/li>\n<hr \/>\n<h3>\u56db\u3001\u5e38\u89c1\u6545\u969c\u6392\u67e5<\/h3>\n<h4>\u95ee\u9898&#xff1a;Git \u63a8\u9001\u5931\u8d25 (Error 403 \/ Unexpected Disconnect)<\/h4>\n<p>\u62a5\u9519\u4fe1\u606f\u793a\u4f8b&#xff1a;<\/p>\n<p>Compressing objects: 100% (34759\/34759), done.<br \/>\nerror: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403<br \/>\nsend-pack: unexpected disconnect while reading sideband packet<br \/>\nWriting objects: 100% (46516\/46516), 2.38 GiB | 304.78 MiB\/s, done.<br \/>\nfatal: the remote end hung up unexpectedly<\/p>\n<p>\u53ef\u80fd\u539f\u56e0\u53ca\u89e3\u51b3\u65b9\u6cd5&#xff1a;<\/p>\n<li>\n<p>\u6743\u9650\u4e0d\u8db3 (HTTP 403)<\/p>\n<ul>\n<li>\u539f\u56e0&#xff1a;\u5f53\u524d\u4f7f\u7528\u7684 Git \u8d26\u53f7\u6ca1\u6709\u8be5\u4ed3\u5e93\u7684\u5199\u5165\u6743\u9650&#xff0c;\u6216\u8005\u5bc6\u7801\/Token \u8ba4\u8bc1\u5931\u8d25\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\n<ul>\n<li>\u68c0\u67e5 Gogs \u7f51\u9875\u7aef\u8be5\u7528\u6237\u662f\u5426\u6709\u4ed3\u5e93\u7684\u201c\u5199\u201d\u6743\u9650\u3002<\/li>\n<li>\u5982\u679c\u662f HTTPS \u63a8\u9001&#xff0c;\u5c1d\u8bd5\u91cd\u65b0\u8f93\u5165\u5bc6\u7801\u6216\u4f7f\u7528 Personal Access Token\u3002<\/li>\n<li>\u68c0\u67e5\u662f\u5426\u5f00\u542f\u4e86\u53cc\u91cd\u9a8c\u8bc1&#xff08;2FA&#xff09;&#xff0c;\u82e5\u5f00\u542f\u5fc5\u987b\u4f7f\u7528 Token \u800c\u975e\u5bc6\u7801\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u63a8\u9001\u5305\u8fc7\u5927\u5bfc\u81f4\u8d85\u65f6<\/p>\n<ul>\n<li>\u539f\u56e0&#xff1a;\u4e00\u6b21\u6027\u63a8\u9001\u7684\u6587\u4ef6\u8fc7\u591a\u6216\u5355\u4e2a\u6587\u4ef6\u8fc7\u5927&#xff0c;\u5bfc\u81f4 Nginx\/IIS\/Gogs \u5185\u90e8\u8d85\u65f6\u9650\u5236\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\n<ul>\n<li>\u5206\u6279\u63d0\u4ea4&#xff1a;\u4e0d\u8981\u4e00\u6b21\u6027\u63a8\u9001\u5927\u91cf\u5386\u53f2\u63d0\u4ea4&#xff0c;\u5c1d\u8bd5\u5206\u591a\u6b21\u63a8\u9001\u3002<\/li>\n<li>\u8c03\u6574\u914d\u7f6e&#xff1a;\u4fee\u6539 Gogs \u7684 app.ini \u914d\u7f6e\u6587\u4ef6&#xff0c;\u589e\u52a0\u4e0a\u4f20\u9650\u5236\u548c\u8d85\u65f6\u65f6\u95f4\u3002<\/li>\n<\/ul>\n<p> [server]<br \/>\nMAX_UPLOAD_SIZE &#061; 1024 ; \u5355\u4f4d MB<\/p>\n<p>[repository]<br \/>\nDISABLE_HTTP_GIT &#061; false<\/p>\n<ul>\n<li>\u68c0\u67e5 Web \u670d\u52a1\u5668&#xff1a;\u5982\u679c\u524d\u7aef\u4f7f\u7528\u4e86 Nginx \u53cd\u5411\u4ee3\u7406&#xff0c;\u9700\u540c\u6b65\u8c03\u6574 client_max_body_size\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>SSH \u5bc6\u94a5\u95ee\u9898<\/p>\n<ul>\n<li>\u539f\u56e0&#xff1a;\u5982\u679c\u4f7f\u7528 SSH \u534f\u8bae\u63a8\u9001&#xff0c;\u672c\u5730\u516c\u94a5\u672a\u6b63\u786e\u6dfb\u52a0\u5230 Gogs \u8d26\u6237\u8bbe\u7f6e\u4e2d\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\n<ul>\n<li>\u5728 Gogs \u7f51\u9875\u7aef -&gt; \u8bbe\u7f6e -&gt; SSH\/GPG \u5bc6\u94a5&#xff0c;\u6dfb\u52a0\u672c\u5730\u7684 id_rsa.pub \u5185\u5bb9\u3002<\/li>\n<li>\u786e\u4fdd\u672c\u5730 SSH \u5ba2\u6237\u7aef\u4f7f\u7528\u7684\u662f\u6b63\u786e\u7684\u79c1\u94a5&#xff08;\u53ef\u901a\u8fc7 ssh -T git&#064;your-server-ip -p 2222 \u6d4b\u8bd5\u8fde\u63a5&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<p>\u5728 Windows \u4e0a\u90e8\u7f72 Gogs \u662f\u4e00\u79cd\u4f4e\u6210\u672c\u6784\u5efa\u79c1\u6709\u4ee3\u7801\u5e93\u7684\u6709\u6548\u65b9\u5f0f\u3002\u901a\u8fc7 NSSM \u5c06\u5176\u670d\u52a1\u5316\u53ef\u4ee5\u4fdd\u8bc1\u7a33\u5b9a\u6027&#xff0c;\u800c\u5728\u8fdb\u884c\u6570\u636e\u8fc1\u79fb\u65f6&#xff0c;\u7406\u89e3\u5e95\u5c42\u7684\u6570\u636e\u5e93\u7ed3\u6784&#xff08;\u7279\u522b\u662f user, repository, access \u8868\u4e4b\u95f4\u7684\u5173\u7cfb&#xff09;\u5bf9\u4e8e\u89e3\u51b3\u6743\u9650\u9519\u4e71\u95ee\u9898\u81f3\u5173\u91cd\u8981\u3002\u9047\u5230\u63a8\u9001\u9519\u8bef\u65f6&#xff0c;\u4f18\u5148\u6392\u67e5\u6743\u9650\u914d\u7f6e\u548c\u7f51\u7edc\u8d85\u65f6\u8bbe\u7f6e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\n\u5728 Windows \u73af\u5883\u4e0b\u642d\u5efa\u79c1\u6709\u7684 Git \u4ee3\u7801\u6258\u7ba1\u670d\u52a1&#xff0c;Gogs \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4e14\u6613\u4e8e\u90e8\u7f72\u7684\u4f18\u79c0\u9009\u62e9\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728 Windows 10 \u4e0a\u5b89\u88c5 Gogs\u3001\u914d\u7f6e\u4e3a\u7cfb\u7edf\u670d\u52a1\u3001\u8fdb\u884c\u6570\u636e\u8fc1\u79fb\u4ee5\u53ca\u89e3\u51b3\u5e38\u89c1\u7684\u6743\u9650\u4e0e\u63a8\u9001\u9519\u8bef\u3002 \u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8d44\u6e90\u4e0b\u8f7d<br \/>\n\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u5df2\u51c6\u5907\u597d\u4ee5\u4e0b\u8d44\u6e90&#xff1a;<br \/>\nGogs \u5b89\u88c5\u5305 \u5b98\u7f51\u4e0b\u8f7d&#xff1a;https:\/\/dl.gogs.io\/GitHub \u4ed3\u5e93&#xff1a;https:\/\/gith<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[89,43,44],"topic":[],"class_list":["post-81857","post","type-post","status-publish","format-standard","hentry","category-server","tag-git","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/81857.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u5728 Windows \u73af\u5883\u4e0b\u642d\u5efa\u79c1\u6709\u7684 Git \u4ee3\u7801\u6258\u7ba1\u670d\u52a1&#xff0c;Gogs \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4e14\u6613\u4e8e\u90e8\u7f72\u7684\u4f18\u79c0\u9009\u62e9\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728 Windows 10 \u4e0a\u5b89\u88c5 Gogs\u3001\u914d\u7f6e\u4e3a\u7cfb\u7edf\u670d\u52a1\u3001\u8fdb\u884c\u6570\u636e\u8fc1\u79fb\u4ee5\u53ca\u89e3\u51b3\u5e38\u89c1\u7684\u6743\u9650\u4e0e\u63a8\u9001\u9519\u8bef\u3002 \u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8d44\u6e90\u4e0b\u8f7d \u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u5df2\u51c6\u5907\u597d\u4ee5\u4e0b\u8d44\u6e90&#xff1a; Gogs \u5b89\u88c5\u5305 \u5b98\u7f51\u4e0b\u8f7d&#xff1a;https:\/\/dl.gogs.io\/GitHub \u4ed3\u5e93&#xff1a;https:\/\/gith\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/81857.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T20:43:12+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81857.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/81857.html\",\"name\":\"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T20:43:12+00:00\",\"dateModified\":\"2026-07-24T20:43:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/81857.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/81857.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81857.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/81857.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 \u5728 Windows \u73af\u5883\u4e0b\u642d\u5efa\u79c1\u6709\u7684 Git \u4ee3\u7801\u6258\u7ba1\u670d\u52a1&#xff0c;Gogs \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4e14\u6613\u4e8e\u90e8\u7f72\u7684\u4f18\u79c0\u9009\u62e9\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728 Windows 10 \u4e0a\u5b89\u88c5 Gogs\u3001\u914d\u7f6e\u4e3a\u7cfb\u7edf\u670d\u52a1\u3001\u8fdb\u884c\u6570\u636e\u8fc1\u79fb\u4ee5\u53ca\u89e3\u51b3\u5e38\u89c1\u7684\u6743\u9650\u4e0e\u63a8\u9001\u9519\u8bef\u3002 \u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8d44\u6e90\u4e0b\u8f7d \u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u5df2\u51c6\u5907\u597d\u4ee5\u4e0b\u8d44\u6e90&#xff1a; Gogs \u5b89\u88c5\u5305 \u5b98\u7f51\u4e0b\u8f7d&#xff1a;https:\/\/dl.gogs.io\/GitHub \u4ed3\u5e93&#xff1a;https:\/\/gith","og_url":"https:\/\/www.wsisp.com\/helps\/81857.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T20:43:12+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/81857.html","url":"https:\/\/www.wsisp.com\/helps\/81857.html","name":"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T20:43:12+00:00","dateModified":"2026-07-24T20:43:12+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/81857.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/81857.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/81857.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010Win10 \u90e8\u7f72\u79c1\u6709 Git \u670d\u52a1\u5668 (Gogs) \u5b8c\u5168\u6307\u5357\u3011"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=81857"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81857\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=81857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=81857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=81857"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=81857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}