{"id":95879,"date":"2026-08-27T00:24:30","date_gmt":"2026-08-26T16:24:30","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/95879.html"},"modified":"2026-08-27T00:24:30","modified_gmt":"2026-08-26T16:24:30","slug":"windows%e4%b8%8b%e4%bb%8e%e9%9b%b6%e6%90%ad%e5%bb%bagit%e6%9c%ac%e5%9c%b0%e4%bb%93%e5%ba%93%e5%b9%b6%e8%bf%9e%e6%8e%a5%e5%85%ac%e5%8f%b8gitlab%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9a%e5%ae%8c%e6%95%b4","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/95879.html","title":{"rendered":"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357"},"content":{"rendered":"<h2>Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668&#xff1a;\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357<\/h2>\n<h3>\u4e00\u3001\u672c\u6587\u9002\u7528\u573a\u666f<\/h3>\n<p>\u672c\u6587\u9002\u7528\u4e8e\u4ee5\u4e0b\u573a\u666f&#xff1a;<\/p>\n<ul>\n<li>\u516c\u53f8\u5df2\u7ecf\u90e8\u7f72\u597dGitLab\u670d\u52a1\u5668&#xff1b;<\/li>\n<li>\u5f00\u53d1\u7535\u8111\u4f7f\u7528Windows 10\u6216Windows 11&#xff1b;<\/li>\n<li>\u672c\u5730\u5df2\u6709\u4e00\u4efd\u6e90\u7801&#xff0c;\u5e0c\u671b\u5efa\u7acb\u5b8c\u6574\u7248\u672c\u8bb0\u5f55&#xff1b;<\/li>\n<li>\u4f7f\u7528Git for Windows\u548cTortoiseGit\u8fdb\u884c\u56fe\u5f62\u5316\u7ba1\u7406&#xff1b;<\/li>\n<li>\u9700\u8981\u628a\u672c\u5730\u63d0\u4ea4\u3001\u5206\u652f\u548c\u6807\u7b7e\u4e0a\u4f20\u5230\u516c\u53f8GitLab&#xff1b;<\/li>\n<li>\u9879\u76ee\u53ef\u80fd\u5305\u542b\u5d4c\u5165\u5f0f\u6e90\u7801\u3001Linux\u5185\u6838\u6e90\u7801\u3001\u914d\u7f6e\u6587\u4ef6\u548c\u6b63\u5f0f\u53d1\u5e03\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<p>\u672c\u6587\u4ee5\u4ee5\u4e0b\u9879\u76ee\u4e3a\u4f8b&#xff1a;<\/p>\n<p>\u9879\u76ee\u663e\u793a\u540d\u79f0&#xff1a;MCH_Linux_Kernel<br \/>\n\u9879\u76ee\u8def\u5f84&#xff1a;mch_linux_kernel<br \/>\n\u672c\u5730\u4e3b\u5206\u652f&#xff1a;master<br \/>\n\u8fdc\u7a0b\u4ed3\u5e93\u522b\u540d&#xff1a;origin<\/p>\n<p>\u6700\u7ec8\u5e0c\u671b\u5f62\u6210&#xff1a;<\/p>\n<p>\u672c\u5730\u5de5\u4f5c\u76ee\u5f55<br \/>\nD:\\\\1&#064;ruige\\\\MCH\u6e90\u7801\\\\MCH-kernel-git<br \/>\n        \u2502<br \/>\n        \u2502 Push \/ Pull<br \/>\n        \u25bc<br \/>\n\u516c\u53f8GitLab\u670d\u52a1\u5668<br \/>\nhttp:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git<\/p>\n<p>\u5982\u679c\u6709\u4e09\u4e2a\u8fde\u7eed\u7248\u672c&#xff0c;\u6700\u7ec8\u7248\u672c\u5386\u53f2\u53ef\u4ee5\u662f&#xff1a;<\/p>\n<p>master<br \/>\n\u25cf \u4ee5\u592a\u7f51\u538b\u529b\u6d4b\u8bd5\u7248\u672c<br \/>\n\u2502 Tag&#xff1a;test-ethernet-stress-v1<br \/>\n\u2502<br \/>\n\u25cf 20260113\u6b63\u5f0f\u51fa\u8d27\u7248\u672c<br \/>\n\u2502 Tag&#xff1a;release-20260113<br \/>\n\u2502<br \/>\n\u25cf \u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c<br \/>\n  Tag&#xff1a;baseline-imx-4.1.15-2.1.0-ga<\/p>\n<hr \/>\n<h2>\u4e8c\u3001\u5148\u7406\u89e3Git\u4e2d\u7684\u51e0\u4e2a\u6838\u5fc3\u6982\u5ff5<\/h2>\n<h3>1. \u5de5\u4f5c\u533a<\/h3>\n<p>\u5de5\u4f5c\u533a\u5c31\u662f\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u770b\u5230\u7684\u9879\u76ee\u6587\u4ef6\u5939&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>D:\\\\1&#064;ruige\\\\MCH\u6e90\u7801\\\\MCH-kernel-git<\/p>\n<p>\u4f60\u7f16\u8f91\u7684.c\u3001.h\u3001.dts\u3001Makefile\u7b49\u6587\u4ef6\u90fd\u4f4d\u4e8e\u5de5\u4f5c\u533a\u3002<\/p>\n<h3>2. \u6682\u5b58\u533a<\/h3>\n<p>\u6267\u884cAdd\u4ee5\u540e&#xff0c;\u6587\u4ef6\u8fdb\u5165\u6682\u5b58\u533a&#xff0c;\u8868\u793a&#xff1a;<\/p>\n<p>\u8fd9\u4e9b\u6587\u4ef6\u51c6\u5907\u8fdb\u5165\u4e0b\u4e00\u6b21\u63d0\u4ea4\u3002<\/p>\n<p>Add\u5e76\u4e0d\u7b49\u4e8e\u5df2\u7ecf\u4ea7\u751f\u7248\u672c\u8bb0\u5f55\u3002<\/p>\n<h3>3. \u672c\u5730\u4ed3\u5e93<\/h3>\n<p>\u6267\u884cCommit\u540e&#xff0c;\u6682\u5b58\u533a\u4e2d\u7684\u5185\u5bb9\u8fdb\u5165\u672c\u5730\u4ed3\u5e93\u3002<\/p>\n<p>\u672c\u5730\u4ed3\u5e93\u6570\u636e\u4fdd\u5b58\u5728\u9690\u85cf\u76ee\u5f55&#xff1a;<\/p>\n<p>.git<\/p>\n<p>.git\u4e2d\u5305\u542b&#xff1a;<\/p>\n<ul>\n<li>\u5168\u90e8\u63d0\u4ea4\u8bb0\u5f55&#xff1b;<\/li>\n<li>\u5206\u652f&#xff1b;<\/li>\n<li>\u6807\u7b7e&#xff1b;<\/li>\n<li>\u6682\u5b58\u533a&#xff1b;<\/li>\n<li>\u8fdc\u7a0b\u4ed3\u5e93\u5730\u5740&#xff1b;<\/li>\n<li>\u672c\u5730\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<p>\u5220\u9664.git\u5c31\u7b49\u4e8e\u5220\u9664\u6574\u4e2aGit\u7248\u672c\u5386\u53f2\u3002<\/p>\n<h3>4. \u8fdc\u7a0b\u4ed3\u5e93<\/h3>\n<p>\u8fdc\u7a0b\u4ed3\u5e93\u662fGitLab\u670d\u52a1\u5668\u4e0a\u7684\u9879\u76ee&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>http:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git<\/p>\n<p>\u672c\u5730\u6267\u884cCommit\u540e&#xff0c;\u4ee3\u7801\u53ea\u4fdd\u5b58\u5728\u672c\u673a\u3002<\/p>\n<p>\u5fc5\u987b\u6267\u884cPush&#xff0c;\u4ee3\u7801\u548c\u63d0\u4ea4\u8bb0\u5f55\u624d\u4f1a\u4e0a\u4f20\u5230GitLab\u3002<\/p>\n<h3>5. origin<\/h3>\n<p>origin\u4e0d\u662f\u670d\u52a1\u5668&#xff0c;\u4e5f\u4e0d\u662f\u56fa\u5b9a\u5173\u952e\u5b57&#xff0c;\u800c\u662f\u8fdc\u7a0b\u4ed3\u5e93\u5730\u5740\u7684\u5e38\u7528\u522b\u540d\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>origin<br \/>\n  \u2514\u2500 http:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git<\/p>\n<h3>6. Commit\u3001Tag\u548cBranch\u7684\u533a\u522b<\/h3>\n<h4>Commit<\/h4>\n<p>\u8bb0\u5f55\u67d0\u4e00\u6b21\u4ee3\u7801\u72b6\u6001&#xff1a;<\/p>\n<p>\u5bfc\u5165MCH Linux\u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c<\/p>\n<h4>Tag<\/h4>\n<p>\u7ed9\u67d0\u4e2a\u91cd\u8981\u63d0\u4ea4\u8d77\u56fa\u5b9a\u7248\u672c\u540d&#xff1a;<\/p>\n<p>release-20260113<\/p>\n<p>\u5e38\u7528\u4e8e&#xff1a;<\/p>\n<ul>\n<li>\u57fa\u7ebf\u7248\u672c&#xff1b;<\/li>\n<li>\u6b63\u5f0f\u53d1\u5e03\u7248\u672c&#xff1b;<\/li>\n<li>\u51fa\u8d27\u7248\u672c&#xff1b;<\/li>\n<li>\u6d4b\u8bd5\u91cc\u7a0b\u7891\u3002<\/li>\n<\/ul>\n<h4>Branch<\/h4>\n<p>\u7528\u4e8e\u9694\u79bb\u5e76\u884c\u5f00\u53d1&#xff1a;<\/p>\n<p>master<br \/>\nfeature\/i2c-stability<br \/>\nfix\/communication-timeout<br \/>\ntest\/ethernet-stress<\/p>\n<p>\u5e76\u4e0d\u662f\u6bcf\u51fa\u73b0\u4e00\u4e2a\u7248\u672c\u90fd\u5fc5\u987b\u521b\u5efa\u5206\u652f\u3002<\/p>\n<hr \/>\n<h2>\u4e09\u3001\u4e0b\u8f7d\u5b89\u88c5\u6240\u9700\u8f6f\u4ef6<\/h2>\n<h3>1. Git for Windows<\/h3>\n<p>\u5b98\u65b9\u5730\u5740&#xff1a;<\/p>\n<p>https:\/\/git-scm.com\/install\/windows.html<\/p>\n<p>\u5efa\u8bae\u4e0b\u8f7d&#xff1a;<\/p>\n<p>64-bit Git for Windows Setup<\/p>\n<p>\u5b89\u88c5\u65f6\u5927\u90e8\u5206\u9009\u9879\u4fdd\u6301\u9ed8\u8ba4\u5373\u53ef\u3002<\/p>\n<p>\u5efa\u8bae\u6ce8\u610f\u4ee5\u4e0b\u9009\u9879&#xff1a;<\/p>\n<h4>\u9ed8\u8ba4\u7f16\u8f91\u5668<\/h4>\n<p>\u53ef\u9009\u62e9&#xff1a;<\/p>\n<p>Use Visual Studio Code as Git&#039;s default editor<\/p>\n<p>\u5982\u679c\u7535\u8111\u6ca1\u6709VS Code&#xff0c;\u4e5f\u53ef\u4fdd\u7559\u9ed8\u8ba4\u7f16\u8f91\u5668\u3002<\/p>\n<h4>\u547d\u4ee4\u884c\u73af\u5883<\/h4>\n<p>\u5efa\u8bae\u9009\u62e9&#xff1a;<\/p>\n<p>Git from the command line and also from 3rd-party software<\/p>\n<h4>\u6362\u884c\u7b26\u8bbe\u7f6e<\/h4>\n<p>\u666e\u901aWindows\u9879\u76ee\u53ef\u4f7f\u7528\u9ed8\u8ba4\u8bbe\u7f6e\u3002<\/p>\n<p>\u5982\u679c\u7ba1\u7406Linux\u5185\u6838\u6e90\u7801&#xff0c;\u5b89\u88c5\u540e\u518d\u5355\u72ec\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> core.autocrlf <span class=\"token boolean\">false<\/span><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5728\u4efb\u610f\u6587\u4ef6\u5939\u7a7a\u767d\u5904\u53f3\u952e&#xff0c;\u5e94\u770b\u5230&#xff1a;<\/p>\n<p>Git Bash Here<br \/>\nGit GUI Here<\/p>\n<p>\u6253\u5f00Git Bash&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> <span class=\"token parameter variable\">&#8211;version<\/span><\/p>\n<p>\u770b\u5230\u7248\u672c\u53f7\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p>\u3010\u914d\u56fe1&#xff1a;Git Bash\u6267\u884cgit &#8211;version\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162427-6a8f133b7a10f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>2. TortoiseGit<\/h3>\n<p>\u5b98\u65b9\u4e0b\u8f7d\u5730\u5740&#xff1a;<\/p>\n<p>https:\/\/tortoisegit.org\/download\/<\/p>\n<p>\u6839\u636e\u7535\u8111\u7cfb\u7edf\u9009\u62e9&#xff1a;<\/p>\n<p>64-bit Windows installer<\/p>\n<p>\u9700\u8981\u4e2d\u6587\u754c\u9762\u65f6&#xff0c;\u53ef\u5728\u540c\u4e00\u9875\u9762\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672c\u7684\u4e2d\u6587\u8bed\u8a00\u5305\u3002<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u91cd\u542f\u8d44\u6e90\u7ba1\u7406\u5668\u6216\u91cd\u542f\u7535\u8111\u3002<\/p>\n<p>\u53f3\u952e\u6587\u4ef6\u5939\u7a7a\u767d\u5904&#xff0c;\u5e94\u770b\u5230&#xff1a;<\/p>\n<p>Git Create repository here&#8230;<br \/>\nTortoiseGit<br \/>\nGit Clone&#8230;<\/p>\n<p>\u5982\u679cTortoiseGit\u6ca1\u6709\u8bc6\u522bGit&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Settings<br \/>\n\u2192 General<br \/>\n\u2192 Git.exe Path<\/p>\n<p>\u9009\u62e9Git\u5b89\u88c5\u76ee\u5f55\u4e2d\u7684&#xff1a;<\/p>\n<p>C:\\\\Program Files\\\\Git\\\\bin\\\\git.exe<\/p>\n<p>\u3010\u914d\u56fe2&#xff1a;TortoiseGit\u53f3\u952e\u83dc\u5355\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162427-6a8f133bd5057.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>3. 7-Zip<\/h3>\n<p>\u5b98\u65b9\u4e0b\u8f7d\u5730\u5740&#xff1a;<\/p>\n<p>https:\/\/www.7-zip.org\/download.html<\/p>\n<p>\u4e3b\u8981\u7528\u4e8e\u89e3\u538b&#xff1a;<\/p>\n<p>.zip<br \/>\n.7z<br \/>\n.tar<br \/>\n.tar.gz<br \/>\n.tar.bz2<\/p>\n<p>Linux\u6e90\u7801\u7684.tar.bz2\u6587\u4ef6\u901a\u5e38\u9700\u8981\u89e3\u538b\u4e24\u6b21&#xff1a;<\/p>\n<p>xxx.tar.bz2<br \/>\n    \u2193<br \/>\nxxx.tar<br \/>\n    \u2193<br \/>\n\u6e90\u7801\u76ee\u5f55<\/p>\n<hr \/>\n<h2>\u56db\u3001\u914d\u7f6eGit\u63d0\u4ea4\u8005\u4fe1\u606f<\/h2>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5728\u4efb\u610f\u6587\u4ef6\u5939\u4e2d\u53f3\u952e&#xff1a;<\/p>\n<p>Git Bash Here<\/p>\n<p>\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> user.name <span class=\"token string\">&#034;wang wen&#034;<\/span><br \/>\n<span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> user.email <span class=\"token string\">&#034;1510513818&#064;qq.com&#034;<\/span><\/p>\n<p>\u67e5\u770b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> <span class=\"token parameter variable\">&#8211;list<\/span><\/p>\n<p>\u5e94\u770b\u5230&#xff1a;<\/p>\n<p>user.name&#061;wang wen<br \/>\nuser.email&#061;1510513818&#064;qq.com<\/p>\n<p>\u8fd9\u4e9b\u4fe1\u606f\u4f1a\u8bb0\u5f55\u5728\u6bcf\u6b21Commit\u4e2d\u3002<\/p>\n<p>\u4e5f\u53ef\u4ee5\u901a\u8fc7\u56fe\u5f62\u754c\u9762\u8bbe\u7f6e&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Settings<br \/>\n\u2192 Git<\/p>\n<p>\u586b\u5199&#xff1a;<\/p>\n<p>Name&#xff1a;wang wen<br \/>\nEmail&#xff1a;1510513818&#064;qq.com<\/p>\n<p>\u3010\u914d\u56fe3&#xff1a;TortoiseGit\u8bbe\u7f6eName\u548cEmail\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162428-6a8f133c46705.png\" alt=\"\u3001\" \/><\/p>\n<hr \/>\n<h2>\u4e94\u3001Linux\u6e90\u7801\u5728Windows\u4e2d\u7684\u989d\u5916\u914d\u7f6e<\/h2>\n<p>\u5982\u679c\u9879\u76ee\u662fLinux\u5185\u6838\u6216Linux BSP\u6e90\u7801&#xff0c;\u5efa\u8bae\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> core.autocrlf <span class=\"token boolean\">false<\/span><br \/>\n<span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> core.longpaths <span class=\"token boolean\">true<\/span><\/p>\n<p>\u4f5c\u7528&#xff1a;<\/p>\n<p>core.autocrlf false<br \/>\n\u4e0d\u81ea\u52a8\u628aLinux\u7684LF\u6362\u884c\u8f6c\u6362\u4e3aWindows\u7684CRLF<\/p>\n<p>core.longpaths true<br \/>\n\u5141\u8bb8Git\u5904\u7406\u8f83\u957f\u7684Windows\u8def\u5f84<\/p>\n<p>\u90e8\u5206Linux\u6e90\u7801\u4e2d\u53ef\u80fd\u5305\u542bWindows\u654f\u611f\u8def\u5f84&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>drivers\/gpu\/drm\/nouveau\/nvkm\/subdev\/i2c\/aux.c<\/p>\n<p>\u5982\u679c\u51fa\u73b0&#xff1a;<\/p>\n<p>libgit2 returned: invalid path<\/p>\n<p>\u8fdb\u5165\u5f53\u524d\u4ed3\u5e93\u6839\u76ee\u5f55&#xff0c;\u6253\u5f00Git Bash&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;local<\/span> core.protectNTFS <span class=\"token boolean\">false<\/span><br \/>\n<span class=\"token function\">git<\/span> <span class=\"token function\">add<\/span> <span class=\"token parameter variable\">-A<\/span><\/p>\n<p>\u8fd9\u91cc\u4f7f\u7528&#8211;local&#xff0c;\u8868\u793a\u53ea\u5f71\u54cd\u5f53\u524d\u4ed3\u5e93\u3002<\/p>\n<hr \/>\n<h2>\u516d\u3001\u51c6\u5907\u672c\u5730\u9879\u76ee\u76ee\u5f55<\/h2>\n<h3>1. \u5148\u5907\u4efd\u539f\u59cb\u8d44\u6599<\/h3>\n<p>\u5728\u5efa\u7acb\u4ed3\u5e93\u524d&#xff0c;\u5148\u4fdd\u7559\u539f\u59cb\u538b\u7f29\u5305\u548c\u4ea4\u4ed8\u6587\u4ef6&#xff1a;<\/p>\n<p>D:\\\\1&#064;ruige\\\\MCH\u6e90\u7801<br \/>\n\u251c\u2500 \u539f\u59cb\u538b\u7f29\u5305<br \/>\n\u251c\u2500 \u4e34\u65f6\u89e3\u538b\u76ee\u5f55<br \/>\n\u2514\u2500 MCH-kernel-git<\/p>\n<p>\u63a8\u8350&#xff1a;<\/p>\n<p>D:\\\\1&#064;ruige\\\\MCH\u6e90\u7801<br \/>\n\u251c\u2500 packages<br \/>\n\u2502  \u251c\u2500 \u539f\u59cb\u7248\u672c.tar.bz2<br \/>\n\u2502  \u251c\u2500 20260113\u7248\u672c.tar.bz2<br \/>\n\u2502  \u2514\u2500 \u538b\u529b\u6d4b\u8bd5\u7248\u672c.tar.bz2<br \/>\n\u2502<br \/>\n\u251c\u2500 temp<br \/>\n\u2502  \u251c\u2500 baseline<br \/>\n\u2502  \u251c\u2500 release_20260113<br \/>\n\u2502  \u2514\u2500 ethernet_test<br \/>\n\u2502<br \/>\n\u2514\u2500 MCH-kernel-git<\/p>\n<p>\u539f\u59cb\u538b\u7f29\u5305\u653e\u5728Git\u4ed3\u5e93\u5916\u90e8\u3002<\/p>\n<h3>2. \u4e0d\u5efa\u8bae\u53ea\u63d0\u4ea4\u538b\u7f29\u5305<\/h3>\n<p>\u9519\u8bef\u505a\u6cd5&#xff1a;<\/p>\n<p>MCH-kernel-git<br \/>\n\u251c\u2500 kernel_1.tar.bz2<br \/>\n\u251c\u2500 kernel_2.tar.bz2<br \/>\n\u2514\u2500 kernel_3.tar.bz2<\/p>\n<p>Git\u53ea\u80fd\u8bc6\u522b\u538b\u7f29\u5305\u6574\u4f53\u53d1\u751f\u53d8\u5316&#xff0c;\u65e0\u6cd5\u6bd4\u8f83\u5185\u90e8\u6e90\u7801\u3002<\/p>\n<p>\u63a8\u8350&#xff1a;<\/p>\n<p>MCH-kernel-git<br \/>\n\u251c\u2500 arch<br \/>\n\u251c\u2500 block<br \/>\n\u251c\u2500 crypto<br \/>\n\u251c\u2500 Documentation<br \/>\n\u251c\u2500 drivers<br \/>\n\u251c\u2500 fs<br \/>\n\u251c\u2500 include<br \/>\n\u251c\u2500 init<br \/>\n\u251c\u2500 kernel<br \/>\n\u251c\u2500 net<br \/>\n\u251c\u2500 scripts<br \/>\n\u251c\u2500 Makefile<br \/>\n\u2514\u2500 Kconfig<\/p>\n<h3>3. \u786e\u8ba4\u6e90\u7801\u6839\u76ee\u5f55<\/h3>\n<p>\u6253\u5f00MCH-kernel-git\u540e&#xff0c;\u5e94\u76f4\u63a5\u770b\u5230&#xff1a;<\/p>\n<p>Makefile<br \/>\narch<br \/>\ndrivers<br \/>\ninclude<br \/>\nkernel<\/p>\n<p>\u4e0d\u80fd\u591a\u5957\u4e00\u5c42&#xff1a;<\/p>\n<p>MCH-kernel-git<br \/>\n\u2514\u2500 linux-imx-source<br \/>\n   \u251c\u2500 Makefile<br \/>\n   \u251c\u2500 arch<br \/>\n   \u2514\u2500 drivers<\/p>\n<hr \/>\n<h2>\u4e03\u3001\u51c6\u5907.gitignore<\/h2>\n<p>.gitignore\u7528\u4e8e\u6392\u9664\u4e0d\u9700\u8981\u7248\u672c\u7ba1\u7406\u7684\u6587\u4ef6\u3002<\/p>\n<p>Linux\u5185\u6838\u6e90\u7801\u901a\u5e38\u5df2\u7ecf\u81ea\u5e26.gitignore&#xff0c;\u4fdd\u7559\u539f\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n<p>\u666e\u901a\u5d4c\u5165\u5f0f\u5de5\u7a0b\u53ef\u4ee5\u53c2\u8003&#xff1a;<\/p>\n<p># \u7f16\u8bd1\u4e2d\u95f4\u6587\u4ef6<br \/>\n*.o<br \/>\n*.obj<br \/>\n*.d<br \/>\n*.dep<br \/>\n*.lst<br \/>\n*.tmp<br \/>\n*.bak<\/p>\n<p># Keil\u7b49IDE\u7528\u6237\u914d\u7f6e<br \/>\n*.uvguix.*<br \/>\n*.user<\/p>\n<p># \u4e34\u65f6\u7f16\u8bd1\u76ee\u5f55<br \/>\nObjects\/<br \/>\nListings\/<br \/>\nDebug\/<\/p>\n<p># Windows\u4e34\u65f6\u6587\u4ef6<br \/>\nThumbs.db<\/p>\n<p># macOS\u4e34\u65f6\u6587\u4ef6<br \/>\n.DS_Store<\/p>\n<p>\u5982\u679c\u6b63\u5f0f\u53d1\u5e03\u7684.bin\u9700\u8981\u4fdd\u5b58&#xff0c;\u5efa\u8bae\u653e\u5728&#xff1a;<\/p>\n<p>release\/<\/p>\n<p>\u4e0d\u8981\u5c06\u6b63\u5f0f\u53d1\u5e03\u76ee\u5f55\u8bef\u52a0\u5165\u5ffd\u7565\u89c4\u5219\u3002<\/p>\n<hr \/>\n<h2>\u516b\u3001\u521b\u5efa\u672c\u5730Git\u4ed3\u5e93<\/h2>\n<h3>\u64cd\u4f5c\u524d\u63d0<\/h3>\n<p>\u5f00\u59cb\u524d\u786e\u8ba4&#xff1a;<\/p>\n<p>\u6e90\u7801\u5df2\u7ecf\u89e3\u538b<br \/>\n\u6e90\u7801\u6839\u76ee\u5f55\u6b63\u786e<br \/>\n\u539f\u59cb\u6587\u4ef6\u5df2\u7ecf\u5907\u4efd<br \/>\n\u5f53\u524d\u76ee\u5f55\u4e2d\u6ca1\u6709\u9700\u8981\u4fdd\u7559\u7684\u65e7.git<\/p>\n<h3>\u56fe\u5f62\u5316\u64cd\u4f5c<\/h3>\n<p>\u8fdb\u5165&#xff1a;<\/p>\n<p>D:\\\\1&#064;ruige\\\\MCH\u6e90\u7801\\\\MCH-kernel-git<\/p>\n<p>\u5728\u7a7a\u767d\u4f4d\u7f6e\u53f3\u952e&#xff1a;<\/p>\n<p>Git Create repository here&#8230;<\/p>\n<p>\u5f39\u51fa\u7a97\u53e3\u540e&#xff1a;<\/p>\n<p>\u4e0d\u8981\u52fe\u9009 Make it Bare<\/p>\n<p>\u70b9\u51fb&#xff1a;<\/p>\n<p>OK<\/p>\n<p>\u6210\u529f\u540e\u4f1a\u751f\u6210\u9690\u85cf\u76ee\u5f55&#xff1a;<\/p>\n<p>.git<\/p>\n<h4>\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u52fe\u9009Make it Bare<\/h4>\n<p>Bare\u4ed3\u5e93\u6ca1\u6709\u666e\u901a\u5de5\u4f5c\u533a&#xff0c;\u4e00\u822c\u7528\u4e8e\u670d\u52a1\u5668\u7aef\u4e2d\u592e\u4ed3\u5e93\u3002<\/p>\n<p>\u672c\u5730\u5f00\u53d1\u4ed3\u5e93\u9700\u8981\u67e5\u770b\u548c\u4fee\u6539\u6e90\u7801&#xff0c;\u56e0\u6b64\u4e0d\u80fd\u521b\u5efa\u4e3aBare\u4ed3\u5e93\u3002<\/p>\n<p>\u3010\u914d\u56fe4&#xff1a;Git Create repository here\u83dc\u5355\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162428-6a8f133cb8155.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h2>\u4e5d\u3001\u628a\u6e90\u7801\u52a0\u5165\u6682\u5b58\u533a<\/h2>\n<p>\u5728\u4ed3\u5e93\u6839\u76ee\u5f55\u7a7a\u767d\u5904\u53f3\u952e&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Add&#8230;<\/p>\n<p>\u9009\u62e9&#xff1a;<\/p>\n<p>Select all<\/p>\n<p>\u70b9\u51fb&#xff1a;<\/p>\n<p>OK<\/p>\n<p>Linux\u5185\u6838\u6587\u4ef6\u5f88\u591a\u65f6&#xff0c;\u56fe\u5f62\u754c\u9762\u53ef\u80fd\u6bd4\u8f83\u6162&#xff0c;\u53ef\u4ee5\u4f7f\u7528Git Bash&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> <span class=\"token function\">add<\/span> <span class=\"token parameter variable\">-A<\/span><\/p>\n<p>git add -A\u4f1a\u540c\u65f6\u5904\u7406&#xff1a;<\/p>\n<ul>\n<li>\u65b0\u589e\u6587\u4ef6&#xff1b;<\/li>\n<li>\u4fee\u6539\u6587\u4ef6&#xff1b;<\/li>\n<li>\u5220\u9664\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<hr \/>\n<h2>\u5341\u3001\u63d0\u4ea4\u524d\u68c0\u67e5\u6587\u4ef6\u662f\u5426\u5b8c\u6574<\/h2>\n<p>\u53f3\u952e\u4ed3\u5e93\u6839\u76ee\u5f55&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Check for modifications<\/p>\n<p>\u7b2c\u4e00\u6b21\u6dfb\u52a0\u540e&#xff0c;\u7406\u60f3\u72b6\u6001\u7c7b\u4f3c&#xff1a;<\/p>\n<p>normal&#061;0<br \/>\nnon-versioned&#061;0<br \/>\nmodified&#061;0<br \/>\nadded&#061;48333<br \/>\ndeleted&#061;0<br \/>\nconflicted&#061;0<\/p>\n<p>\u91cd\u70b9\u786e\u8ba4&#xff1a;<\/p>\n<p>non-versioned&#061;0<br \/>\nconflicted&#061;0<\/p>\n<p>\u542b\u4e49&#xff1a;<\/p>\n<p>non-versioned&#061;0<br \/>\n\u6ca1\u6709\u9057\u6f0f\u7684\u672a\u8ddf\u8e2a\u6587\u4ef6<\/p>\n<p>added&#061;48333<br \/>\n48333\u4e2a\u6587\u4ef6\u5df2\u7ecf\u8fdb\u5165\u6682\u5b58\u533a<\/p>\n<p>conflicted&#061;0<br \/>\n\u4e0d\u5b58\u5728\u51b2\u7a81<\/p>\n<p>\u5982\u679c\u4ecd\u663e\u793a&#xff1a;<\/p>\n<p>non-versioned&#061;48333<br \/>\nadded&#061;0<\/p>\n<p>\u8bf4\u660e\u6587\u4ef6\u5c1a\u672a\u6210\u529fAdd\u3002<\/p>\n<p>\u3010\u914d\u56fe5&#xff1a;Check for modifications\u5b8c\u6574\u72b6\u6001\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162428-6a8f133cd2bbc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h2>\u5341\u4e00\u3001\u521b\u5efa\u7b2c\u4e00\u4e2a\u7248\u672c\u63d0\u4ea4<\/h2>\n<p>\u5728\u4ed3\u5e93\u6839\u76ee\u5f55\u7a7a\u767d\u5904\u53f3\u952e&#xff1a;<\/p>\n<p>Git Commit \u2192 &#034;master&#034;&#8230;<\/p>\n<p>\u63d0\u4ea4\u4fe1\u606f\u586b\u5199&#xff1a;<\/p>\n<p>\u5bfc\u5165MCH Linux\u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c<\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p>chore: import MCH Linux kernel baseline<\/p>\n<p>\u7b2c\u4e00\u6b21\u63d0\u4ea4\u65f6\u4e0d\u8981\u52fe\u9009&#xff1a;<\/p>\n<p>new branch<br \/>\nAmend Last Commit<br \/>\nSet author<br \/>\nMessage only<br \/>\nStaging support<\/p>\n<p>\u786e\u8ba4\u4e0b\u65b9\u6240\u6709\u6587\u4ef6\u5df2\u52fe\u9009&#xff0c;\u7136\u540e\u70b9\u51fb&#xff1a;<\/p>\n<p>Commit<\/p>\n<p>\u63d0\u4ea4\u5b8c\u6210\u540e&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Show log<\/p>\n<p>\u5e94\u770b\u5230\u7b2c\u4e00\u6761\u63d0\u4ea4\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e8c\u3001\u521b\u5efa\u7b2c\u4e00\u4e2a\u7248\u672c\u6807\u7b7e<\/h2>\n<p>\u5728\u4ed3\u5e93\u6839\u76ee\u5f55\u53f3\u952e&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Create Tag&#8230;<\/p>\n<p>\u586b\u5199&#xff1a;<\/p>\n<p>Tag&#xff1a;<br \/>\nbaseline-imx-4.1.15-2.1.0-ga<\/p>\n<p>Target&#xff1a;<br \/>\nHEAD<\/p>\n<p>Message&#xff1a;<br \/>\nMCH Linux\u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c<\/p>\n<p>\u70b9\u51fb&#xff1a;<\/p>\n<p>OK<\/p>\n<p>HEAD\u8868\u793a\u5f53\u524d\u5206\u652f\u6700\u65b0\u63d0\u4ea4\u3002<\/p>\n<p>\u5b8c\u6210\u540e\u65e5\u5fd7\u5173\u7cfb\u4e3a&#xff1a;<\/p>\n<p>master<br \/>\nbaseline-imx-4.1.15-2.1.0-ga<br \/>\n\u25cf \u5bfc\u5165MCH Linux\u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c<\/p>\n<hr \/>\n<h2>\u5341\u4e09\u3001\u4f9d\u6b21\u5bfc\u5165\u7b2c\u4e8c\u4e2a\u548c\u7b2c\u4e09\u4e2a\u5b8c\u6574\u7248\u672c<\/h2>\n<p>\u5047\u8bbe\u7248\u672c\u5173\u7cfb\u4e3a&#xff1a;<\/p>\n<p>\u7248\u672c1&#xff1a;\u539f\u59cb\u57fa\u7ebf<br \/>\n\u7248\u672c2&#xff1a;20260113\u51fa\u8d27\u7248<br \/>\n\u7248\u672c3&#xff1a;\u4ee5\u592a\u7f51\u538b\u529b\u6d4b\u8bd5\u7248<\/p>\n<p>\u91c7\u7528\u5355\u4e00master\u7ebf\u6027\u7ba1\u7406\u65f6&#xff1a;<\/p>\n<p>master<br \/>\n\u25cf \u7248\u672c3<br \/>\n\u2502<br \/>\n\u25cf \u7248\u672c2<br \/>\n\u2502<br \/>\n\u25cf \u7248\u672c1<\/p>\n<h3>1. \u5bfc\u5165\u4e0b\u4e00\u7248\u672c\u524d\u7684\u524d\u63d0<\/h3>\n<p>\u5fc5\u987b\u786e\u8ba4\u5f53\u524d\u5de5\u4f5c\u533a\u5e72\u51c0&#xff1a;<\/p>\n<p>non-versioned&#061;0<br \/>\nmodified&#061;0<br \/>\nadded&#061;0<br \/>\ndeleted&#061;0<br \/>\nconflicted&#061;0<\/p>\n<h3>2. \u4e0b\u4e00\u7248\u672c\u662f\u5b8c\u6574\u6e90\u7801\u5305<\/h3>\n<p>\u63a8\u8350\u5148\u5728\u4ed3\u5e93\u5916\u89e3\u538b\u3002<\/p>\n<p>\u5982\u679c\u9700\u8981\u5b8c\u6574\u66ff\u6362\u5f53\u524d\u6e90\u7801&#xff0c;\u53ef\u5728Git Bash\u4e2d\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> <span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-r<\/span> <span class=\"token builtin class-name\">.<\/span><\/p>\n<p>\u8be5\u547d\u4ee4\u5220\u9664Git\u5df2\u8ddf\u8e2a\u7684\u9879\u76ee\u6587\u4ef6&#xff0c;\u4f46\u4e0d\u4f1a\u5220\u9664.git\u4ed3\u5e93\u76ee\u5f55\u3002<\/p>\n<p>\u7136\u540e\u5c06\u65b0\u7248\u672c\u6e90\u7801\u6839\u76ee\u5f55\u4e2d\u7684\u5185\u5bb9\u590d\u5236\u5230\u4ed3\u5e93\u4e2d&#xff0c;\u518d\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> <span class=\"token function\">add<\/span> <span class=\"token parameter variable\">-A<\/span><\/p>\n<p>\u68c0\u67e5\u53d8\u5316&#xff1a;<\/p>\n<p>Added<br \/>\nModified<br \/>\nDeleted<\/p>\n<p>\u4e09\u7c7b\u6587\u4ef6\u90fd\u5e94\u88ab\u6b63\u786e\u5904\u7406\u3002<\/p>\n<h3>3. \u63d0\u4ea4\u7b2c\u4e8c\u4e2a\u7248\u672c<\/h3>\n<p>\u63d0\u4ea4\u4fe1\u606f&#xff1a;<\/p>\n<p>\u5bfc\u5165MCH Linux\u5185\u683820260113\u5f53\u524d\u51fa\u8d27\u7248\u672c<\/p>\n<p>\u8fd9\u6b21&#xff1a;<\/p>\n<p>\u4e0d\u8981\u52fe\u9009Amend Last Commit<\/p>\n<p>\u63d0\u4ea4\u6210\u529f\u540e\u521b\u5efa\u6807\u7b7e&#xff1a;<\/p>\n<p>release-20260113<\/p>\n<h3>4. \u63d0\u4ea4\u7b2c\u4e09\u4e2a\u7248\u672c<\/h3>\n<p>\u63d0\u4ea4\u4fe1\u606f&#xff1a;<\/p>\n<p>\u5bfc\u5165MCH Linux\u5185\u6838\u4ee5\u592a\u7f51\u538b\u529b\u6d4b\u8bd5\u914d\u7f6e\u7248\u672c<\/p>\n<p>\u4ecd\u7136&#xff1a;<\/p>\n<p>\u4e0d\u8981\u52fe\u9009Amend Last Commit<\/p>\n<p>\u63d0\u4ea4\u540e\u521b\u5efa\u6807\u7b7e&#xff1a;<\/p>\n<p>test-ethernet-stress-v1<\/p>\n<p>\u6700\u7ec8\u65e5\u5fd7\u5e94\u4e3a&#xff1a;<\/p>\n<p>master\u3001test-ethernet-stress-v1<br \/>\n\u25cf \u4ee5\u592a\u7f51\u538b\u529b\u6d4b\u8bd5\u7248\u672c<br \/>\n\u2502<br \/>\nrelease-20260113<br \/>\n\u25cf 20260113\u51fa\u8d27\u7248\u672c<br \/>\n\u2502<br \/>\nbaseline-imx-4.1.15-2.1.0-ga<br \/>\n\u25cf \u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c<\/p>\n<p>\u3010\u914d\u56fe6&#xff1a;\u4e09\u6761\u7248\u672c\u63d0\u4ea4\u8bb0\u5f55\u3011<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162429-6a8f133d3ef14.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h2>\u5341\u56db\u3001Amend Last Commit\u4ec0\u4e48\u65f6\u5019\u4f7f\u7528<\/h2>\n<p>Amend Last Commit\u8868\u793a\u4fee\u6539\u4e0a\u4e00\u6b21\u63d0\u4ea4&#xff0c;\u800c\u4e0d\u662f\u521b\u5efa\u65b0\u63d0\u4ea4\u3002<\/p>\n<p>\u9002\u5408&#xff1a;<\/p>\n<ul>\n<li>\u4e0a\u4e00\u6b21\u63d0\u4ea4\u6f0f\u6389\u4e86\u6587\u4ef6&#xff1b;<\/li>\n<li>\u4e0a\u4e00\u6b21\u63d0\u4ea4\u4fe1\u606f\u5199\u9519&#xff1b;<\/li>\n<li>\u4e0a\u4e00\u6b21\u63d0\u4ea4\u8fd8\u6ca1\u6709\u63a8\u9001\u7ed9\u5176\u4ed6\u4eba\u3002<\/li>\n<\/ul>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>20260113\u51fa\u8d27\u7248\u6f0f\u4e8621\u4e2a.dts\u6587\u4ef6<\/p>\n<p>\u6b63\u786e\u6d41\u7a0b&#xff1a;<\/p>\n<p>Add\u8fd921\u4e2a\u6587\u4ef6<br \/>\n\u2192 Commit<br \/>\n\u2192 \u52fe\u9009Amend Last Commit<br \/>\n\u2192 Commit<\/p>\n<p>\u5b8c\u6210\u540e\u4ecd\u53ea\u6709\u4e00\u676120260113\u63d0\u4ea4\u3002<\/p>\n<h3>\u5df2\u7ecf\u63a8\u9001\u540e\u4e0d\u8981\u968f\u610fAmend<\/h3>\n<p>\u5982\u679c\u63d0\u4ea4\u5df2\u7ecf\u4e0a\u4f20GitLab\u5e76\u88ab\u5176\u4ed6\u4eba\u4f7f\u7528&#xff0c;\u4e0d\u5efa\u8baeAmend\u3002<\/p>\n<p>\u6b64\u65f6\u5e94\u65b0\u5efa\u4fee\u590d\u63d0\u4ea4&#xff1a;<\/p>\n<p>fix: \u8865\u514520260113\u51fa\u8d27\u7248\u672c\u9057\u6f0f\u7684\u8bbe\u5907\u6811\u6587\u4ef6<\/p>\n<p>\u56e0\u4e3aAmend\u4f1a\u6539\u53d8\u63d0\u4ea4SHA&#xff0c;\u5e76\u91cd\u5199\u5386\u53f2\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e94\u3001\u5728GitLab\u670d\u52a1\u5668\u521b\u5efa\u7a7a\u9879\u76ee<\/h2>\n<p>\u6253\u5f00\u516c\u53f8GitLab&#xff1a;<\/p>\n<p>http:\/\/172.16.10.189:8080<\/p>\n<p>\u70b9\u51fb&#xff1a;<\/p>\n<p>New project<br \/>\n\u2192 Blank project<\/p>\n<p>\u586b\u5199&#xff1a;<\/p>\n<p>Project name&#xff1a;<br \/>\nMCH_Linux_Kernel<\/p>\n<p>Project slug&#xff1a;<br \/>\nmch_linux_kernel<\/p>\n<p>Project description&#xff1a;<br \/>\nMCH\u9879\u76eei.MX6\u5e73\u53f0Linux\u5185\u6838\u6e90\u7801\u4ed3\u5e93&#xff0c;\u5305\u542b\u539f\u59cb\u57fa\u7ebf\u7248\u672c\u300120260113\u51fa\u8d27\u7248\u672c\u53ca\u4ee5\u592a\u7f51\u538b\u529b\u6d4b\u8bd5\u7248\u672c\u3002<\/p>\n<p>Visibility Level\u9009\u62e9&#xff1a;<\/p>\n<p>Private<\/p>\n<p>\u6700\u91cd\u8981\u7684\u662f&#xff1a;<\/p>\n<p>\u4e0d\u8981\u52fe\u9009 Initialize repository with a README<\/p>\n<p>\u56e0\u4e3a\u672c\u5730\u5df2\u7ecf\u5b58\u5728\u63d0\u4ea4\u5386\u53f2\u3002<\/p>\n<p>\u5982\u679c\u670d\u52a1\u5668\u5148\u751f\u6210README&#xff0c;\u5c31\u4f1a\u989d\u5916\u4ea7\u751f\u4e00\u5957\u670d\u52a1\u5668\u63d0\u4ea4\u5386\u53f2&#xff0c;\u7b2c\u4e00\u6b21Push\u53ef\u80fd\u51fa\u73b0\u975e\u5feb\u8fdb\u6216\u5386\u53f2\u4e0d\u76f8\u5173\u95ee\u9898\u3002<\/p>\n<p>\u70b9\u51fb&#xff1a;<\/p>\n<p>Create project<\/p>\n<p>\u9879\u76ee\u521b\u5efa\u5b8c\u6210\u540e\u5e94\u663e\u793a&#xff1a;<\/p>\n<p>The repository for this project is empty<\/p>\n<hr \/>\n<h2>\u5341\u516d\u3001\u590d\u5236GitLab\u8fdc\u7a0b\u5730\u5740<\/h2>\n<p>\u8fdb\u5165\u9879\u76ee\u9996\u9875&#xff0c;\u70b9\u51fb&#xff1a;<\/p>\n<p>Clone \u25bc<\/p>\n<p>\u590d\u5236&#xff1a;<\/p>\n<p>Clone with HTTP<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>http:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git<\/p>\n<p>\u4e5f\u53ef\u4ee5\u4f7f\u7528SSH\u5730\u5740&#xff0c;\u4f46\u7b2c\u4e00\u6b21\u914d\u7f6e\u65f6HTTP\u66f4\u76f4\u89c2\u3002<\/p>\n<p>\u4e0d\u8981\u624b\u52a8\u731c\u4ed3\u5e93\u5730\u5740&#xff0c;\u5e94\u4ee5GitLab\u9875\u9762\u663e\u793a\u7684Clone\u5730\u5740\u4e3a\u51c6\u3002<\/p>\n<p>\u3010\u914d\u56fe19&#xff1a;Clone with HTTP\u5730\u5740\u3011<\/p>\n<hr \/>\n<h2>\u5341\u4e03\u3001\u672c\u5730\u914d\u7f6e\u8fdc\u7a0b\u4ed3\u5e93origin<\/h2>\n<h3>\u56fe\u5f62\u5316\u65b9\u5f0f<\/h3>\n<p>\u56de\u5230\u672c\u5730\u4ed3\u5e93\u6839\u76ee\u5f55&#xff1a;<\/p>\n<p>D:\\\\1&#064;ruige\\\\MCH\u6e90\u7801\\\\MCH-kernel-git<\/p>\n<p>\u7a7a\u767d\u5904\u53f3\u952e&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Settings<br \/>\n\u2192 Git<br \/>\n\u2192 Remote<\/p>\n<p>\u586b\u5199&#xff1a;<\/p>\n<p>Remote&#xff1a;<br \/>\norigin<\/p>\n<p>URL&#xff1a;<br \/>\nhttp:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git<\/p>\n<p>\u4f7f\u7528HTTP\u65f6&#xff1a;<\/p>\n<p>Putty Key&#xff1a;\u7559\u7a7a<\/p>\n<p>\u70b9\u51fb&#xff1a;<\/p>\n<p>Add New\u6216Save<br \/>\n\u2192 Apply<br \/>\n\u2192 OK<\/p>\n<h3>\u547d\u4ee4\u884c\u65b9\u5f0f<\/h3>\n<p>\u5728\u4ed3\u5e93\u6839\u76ee\u5f55\u6253\u5f00Git Bash&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> remote <span class=\"token function\">add<\/span> origin <span class=\"token string\">&#034;http:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git&#034;<\/span><\/p>\n<p>\u68c0\u67e5&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> remote <span class=\"token parameter variable\">-v<\/span><\/p>\n<p>\u6b63\u786e\u7ed3\u679c&#xff1a;<\/p>\n<p>origin  http:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git (fetch)<br \/>\norigin  http:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git (push)<\/p>\n<p>\u8fd9\u4e00\u6b65\u5b8c\u6210\u540e&#xff0c;\u672c\u5730\u4ed3\u5e93\u548cGitLab\u670d\u52a1\u5668\u624d\u771f\u6b63\u5efa\u7acb\u8054\u7cfb\u3002<\/p>\n<p>\u3010\u914d\u56fe20&#xff1a;TortoiseGit Remote\u914d\u7f6e\u9875\u9762\u3011<\/p>\n<hr \/>\n<h2>\u5341\u516b\u3001\u7b2c\u4e00\u6b21Push\u5230GitLab<\/h2>\n<p>\u5728\u672c\u5730\u4ed3\u5e93\u6839\u76ee\u5f55\u7a7a\u767d\u5904\u53f3\u952e&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Push&#8230;<\/p>\n<p>\u6309\u7167\u4e0b\u9762\u8bbe\u7f6e\u3002<\/p>\n<h3>Ref<\/h3>\n<p>Local branch&#xff1a;<br \/>\nmaster<\/p>\n<p>Remote branch&#xff1a;<br \/>\nmaster<\/p>\n<h3>Destination<\/h3>\n<p>Remote&#xff1a;<br \/>\norigin<\/p>\n<h3>Options<\/h3>\n<p>\u52fe\u9009&#xff1a;<\/p>\n<p>Set upstream\/track remote branch<br \/>\nInclude Tags<\/p>\n<p>\u4e0d\u8981\u52fe\u9009&#xff1a;<\/p>\n<p>Force<br \/>\nForce with lease<\/p>\n<p>\u5b8c\u6574\u914d\u7f6e&#xff1a;<\/p>\n<p>\u672c\u5730master \u2192 \u8fdc\u7a0bmaster<br \/>\nRemote&#xff1a;origin<\/p>\n<p>\u2611 Set upstream\/track remote branch<br \/>\n\u2611 Include Tags<br \/>\n\u2610 Force<br \/>\n\u2610 Force with lease<\/p>\n<p>\u70b9\u51fb&#xff1a;<\/p>\n<p>OK<\/p>\n<p>\u7b2c\u4e00\u6b21\u4e0a\u4f20\u53ef\u80fd\u9700\u8981\u8f93\u5165&#xff1a;<\/p>\n<p>Username&#xff1a;GitLab\u7528\u6237\u540d<br \/>\nPassword&#xff1a;GitLab\u767b\u5f55\u5bc6\u7801\u6216\u8bbf\u95ee\u4ee4\u724c<\/p>\n<p>Linux\u5185\u6838\u4ed3\u5e93\u6587\u4ef6\u591a\u3001\u4f53\u79ef\u5927&#xff0c;\u9996\u6b21Push\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u3002<\/p>\n<p>\u4e0a\u4f20\u8fc7\u7a0b\u4e2d\u4f1a\u770b\u5230&#xff1a;<\/p>\n<p>Counting objects<br \/>\nCompressing objects<br \/>\nWriting objects<\/p>\n<p>\u4e0d\u8981\u4e2d\u65ad\u3002<\/p>\n<p>\u3010\u914d\u56fe21&#xff1a;TortoiseGit Push\u8bbe\u7f6e\u3011<\/p>\n<p>\u3010\u914d\u56fe22&#xff1a;Push\u4e0a\u4f20\u8fdb\u5ea6\u3011<\/p>\n<hr \/>\n<h2>\u5341\u4e5d\u3001\u547d\u4ee4\u884cPush\u65b9\u6cd5<\/h2>\n<p>\u56fe\u5f62\u754c\u9762\u5bf9\u5e94\u547d\u4ee4\u4e3a&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> push <span class=\"token parameter variable\">-u<\/span> origin master<br \/>\n<span class=\"token function\">git<\/span> push origin <span class=\"token parameter variable\">&#8211;tags<\/span><\/p>\n<p>\u5176\u4e2d&#xff1a;<\/p>\n<p>-u<\/p>\n<p>\u7528\u4e8e\u5efa\u7acb\u8ddf\u8e2a\u5173\u7cfb&#xff1a;<\/p>\n<p>\u672c\u5730master \u2194 origin\/master<\/p>\n<p>\u4ee5\u540e\u53ef\u4ee5\u76f4\u63a5\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> push<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u3001\u68c0\u67e5\u662f\u5426\u4e0a\u4f20\u6210\u529f<\/h2>\n<h3>1. GitLab\u9879\u76ee\u9996\u9875<\/h3>\n<p>\u5237\u65b0\u9875\u9762\u540e&#xff0c;\u5e94\u80fd\u770b\u5230\u6e90\u7801\u76ee\u5f55&#xff1a;<\/p>\n<p>Documentation<br \/>\narch<br \/>\ndrivers<br \/>\ninclude<br \/>\nkernel<br \/>\nMakefile<\/p>\n<h3>2. \u68c0\u67e5Commits<\/h3>\n<p>\u8fdb\u5165&#xff1a;<\/p>\n<p>Repository<br \/>\n\u2192 Commits<\/p>\n<p>\u6216\u8005\u70b9\u51fb\u9879\u76ee\u9996\u9875\u7684&#xff1a;<\/p>\n<p>3 Commits<\/p>\n<p>\u5e94\u770b\u5230\u4e09\u6761\u7248\u672c\u8bb0\u5f55\u3002<\/p>\n<h3>3. \u68c0\u67e5Tags<\/h3>\n<p>\u8fdb\u5165&#xff1a;<\/p>\n<p>Repository<br \/>\n\u2192 Tags<\/p>\n<p>\u5e94\u770b\u5230&#xff1a;<\/p>\n<p>baseline-imx-4.1.15-2.1.0-ga<br \/>\nrelease-20260113<br \/>\ntest-ethernet-stress-v1<\/p>\n<h3>4. \u68c0\u67e5Branches<\/h3>\n<p>\u8fdb\u5165&#xff1a;<\/p>\n<p>Repository<br \/>\n\u2192 Branches<\/p>\n<p>\u5982\u679c\u4e09\u4e2a\u7248\u672c\u90fd\u5728\u7ebf\u6027master\u5206\u652f\u4e0a&#xff0c;\u53ea\u770b\u5230&#xff1a;<\/p>\n<p>master<\/p>\n<p>\u662f\u6b63\u5e38\u7684\u3002<\/p>\n<h3>5. \u672c\u5730\u68c0\u67e5<\/h3>\n<p>Git Bash\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> remote <span class=\"token parameter variable\">-v<\/span><br \/>\n<span class=\"token function\">git<\/span> branch <span class=\"token parameter variable\">-vv<\/span><br \/>\n<span class=\"token function\">git<\/span> status<\/p>\n<p>\u7406\u60f3\u7ed3\u679c\u7c7b\u4f3c&#xff1a;<\/p>\n<p>* master e59f2fd [origin\/master] \u5bfc\u5165MCH Linux\u5185\u6838\u4ee5\u592a\u7f51\u538b\u529b\u6d4b\u8bd5\u7248\u672c<\/p>\n<p>\u4ee5\u53ca&#xff1a;<\/p>\n<p>Your branch is up to date with &#039;origin\/master&#039;.<br \/>\nnothing to commit, working tree clean<\/p>\n<p>\u3010\u914d\u56fe23&#xff1a;GitLab\u9879\u76ee3 Commits\u30011 Branch\u30013 Tags\u3011<\/p>\n<p>\u3010\u914d\u56fe24&#xff1a;\u672c\u5730origin\/master\u65e5\u5fd7\u3011<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u4e00\u3001\u540e\u7eed\u65e5\u5e38\u5f00\u53d1\u6d41\u7a0b<\/h2>\n<p>\u4ee5\u540e\u4e0d\u9700\u8981\u91cd\u65b0\u521b\u5efa\u4ed3\u5e93&#xff0c;\u4e5f\u4e0d\u9700\u8981\u91cd\u65b0\u914d\u7f6eorigin\u3002<\/p>\n<p>\u6807\u51c6\u6d41\u7a0b&#xff1a;<\/p>\n<p>Pull<br \/>\n\u2192 \u4fee\u6539\u6e90\u7801<br \/>\n\u2192 \u7f16\u8bd1\u6d4b\u8bd5<br \/>\n\u2192 Check for modifications<br \/>\n\u2192 Add<br \/>\n\u2192 Commit<br \/>\n\u2192 Push<\/p>\n<h3>\u5f00\u59cb\u5de5\u4f5c\u524d<\/h3>\n<p>TortoiseGit<br \/>\n\u2192 Pull<\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> pull<\/p>\n<h3>\u4fee\u6539\u5b8c\u6210\u540e<\/h3>\n<p>\u68c0\u67e5&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Check for modifications<\/p>\n<p>\u52a0\u5165\u6682\u5b58\u533a&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Add<\/p>\n<p>\u63d0\u4ea4&#xff1a;<\/p>\n<p>Git Commit \u2192 master<\/p>\n<p>\u4e0a\u4f20&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Push<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u4e8c\u3001\u63a8\u8350\u7684\u63d0\u4ea4\u8bf4\u660e\u89c4\u8303<\/h2>\n<p>\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u524d\u7f00&#xff1a;<\/p>\n<p>feat&#xff1a;\u65b0\u589e\u529f\u80fd<br \/>\nfix&#xff1a;\u4fee\u590d\u95ee\u9898<br \/>\ndocs&#xff1a;\u4fee\u6539\u6587\u6863<br \/>\nrefactor&#xff1a;\u91cd\u6784\u4ee3\u7801<br \/>\ntest&#xff1a;\u6d4b\u8bd5\u76f8\u5173\u4fee\u6539<br \/>\nchore&#xff1a;\u5de5\u7a0b\u914d\u7f6e\u6216\u4ed3\u5e93\u6574\u7406<br \/>\nrelease&#xff1a;\u6b63\u5f0f\u53d1\u5e03<\/p>\n<p>\u793a\u4f8b&#xff1a;<\/p>\n<p>feat: \u589e\u52a0\u4ee5\u592a\u7f51\u538b\u529b\u6d4b\u8bd5\u529f\u80fd<br \/>\nfix: \u4fee\u590dI2C\u901a\u4fe1\u8d85\u65f6\u95ee\u9898<br \/>\ndocs: \u8865\u5145MCH\u5185\u6838\u7f16\u8bd1\u8bf4\u660e<br \/>\nchore: \u66f4\u65b0\u53cc\u6838\u914d\u7f6e\u6587\u4ef6<br \/>\nrelease: \u53d1\u5e03MCH\u5185\u683820260113\u7248\u672c<\/p>\n<p>\u4e00\u6b21Commit\u5e94\u5c3d\u91cf\u53ea\u89e3\u51b3\u4e00\u7c7b\u95ee\u9898\u3002<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u4e09\u3001\u6b63\u5f0f\u53d1\u5e03\u6d41\u7a0b<\/h2>\n<p>\u6b63\u5f0f\u53d1\u5e03\u524d&#xff1a;<\/p>\n<p>\u6e90\u7801\u5df2\u63d0\u4ea4<br \/>\n\u5de5\u4f5c\u533a\u5e72\u51c0<br \/>\n\u7f16\u8bd1\u6210\u529f<br \/>\n\u677f\u5361\u542f\u52a8\u6b63\u5e38<br \/>\n\u529f\u80fd\u6d4b\u8bd5\u901a\u8fc7<br \/>\n\u56de\u5f52\u6d4b\u8bd5\u901a\u8fc7<\/p>\n<p>\u521b\u5efa\u6807\u7b7e&#xff1a;<\/p>\n<p>TortoiseGit<br \/>\n\u2192 Create Tag<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>release-v1.0.0<\/p>\n<p>\u6807\u7b7e\u8bf4\u660e&#xff1a;<\/p>\n<p>MCH Linux\u5185\u6838V1.0.0\u6b63\u5f0f\u51fa\u8d27\u7248\u672c<\/p>\n<p>\u7136\u540ePush\u65f6\u52fe\u9009&#xff1a;<\/p>\n<p>Include Tags<\/p>\n<p>\u6216\u8005\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> push origin <span class=\"token parameter variable\">&#8211;tags<\/span><\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u56db\u3001\u591a\u4eba\u534f\u4f5c\u63a8\u8350\u6d41\u7a0b<\/h2>\n<p>\u591a\u4eba\u9879\u76ee\u4e0d\u5efa\u8bae\u6240\u6709\u4eba\u76f4\u63a5\u5411master\u63d0\u4ea4\u3002<\/p>\n<p>\u63a8\u8350&#xff1a;<\/p>\n<p>master<br \/>\n\u251c\u2500 feature\/i2c-stability<br \/>\n\u251c\u2500 fix\/fan-timeout<br \/>\n\u2514\u2500 test\/ethernet-stress<\/p>\n<p>\u6d41\u7a0b&#xff1a;<\/p>\n<p>\u4ecemaster\u521b\u5efa\u5206\u652f<br \/>\n\u2192 \u4fee\u6539\u548c\u6d4b\u8bd5<br \/>\n\u2192 Commit<br \/>\n\u2192 Push\u5206\u652f<br \/>\n\u2192 GitLab\u521b\u5efaMerge Request<br \/>\n\u2192 \u4ee3\u7801\u8bc4\u5ba1<br \/>\n\u2192 \u5408\u5e76\u56demaster<br \/>\n\u2192 \u53d1\u5e03\u65f6\u521b\u5efaTag<\/p>\n<p>\u5e38\u89c1\u5206\u652f\u540d&#xff1a;<\/p>\n<p>feature\/\u529f\u80fd\u540d\u79f0<br \/>\nfix\/\u95ee\u9898\u540d\u79f0<br \/>\ntest\/\u6d4b\u8bd5\u540d\u79f0<br \/>\nrelease\/\u7248\u672c\u53f7<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u4e94\u3001GitLab\u9879\u76ee\u5efa\u8bae\u914d\u7f6e<\/h2>\n<h3>1. \u5173\u95ed\u4e0d\u9700\u8981\u7684Auto DevOps<\/h3>\n<p>\u5982\u679c\u6ca1\u6709\u914d\u7f6eGitLab Runner&#xff0c;\u4e5f\u6ca1\u6709CI\u7f16\u8bd1\u9700\u6c42&#xff1a;<\/p>\n<p>Settings<br \/>\n\u2192 CI\/CD<br \/>\n\u2192 Auto DevOps<\/p>\n<p>\u5173\u95edAuto DevOps&#xff0c;\u907f\u514d\u6bcf\u6b21Push\u4ea7\u751f\u65e0\u610f\u4e49\u7684\u5931\u8d25\u6d41\u6c34\u7ebf\u3002<\/p>\n<h3>2. \u914d\u7f6e\u6210\u5458<\/h3>\n<p>\u8fdb\u5165&#xff1a;<\/p>\n<p>Project information<br \/>\n\u2192 Members<\/p>\n<p>\u5e38\u89c1\u6743\u9650&#xff1a;<\/p>\n<p>Developer&#xff1a;\u666e\u901a\u5f00\u53d1\u4eba\u5458<br \/>\nMaintainer&#xff1a;\u9879\u76ee\u8d1f\u8d23\u4eba<\/p>\n<h3>3. \u4fdd\u62a4master<\/h3>\n<p>\u591a\u4eba\u534f\u4f5c\u65f6\u8fdb\u5165&#xff1a;<\/p>\n<p>Settings<br \/>\n\u2192 Repository<br \/>\n\u2192 Protected Branches<\/p>\n<p>\u4fdd\u62a4master&#xff0c;\u901a\u8fc7Merge Request\u5408\u5e76\u4ee3\u7801\u3002<\/p>\n<p>\u5355\u4eba\u5f52\u6863\u9879\u76ee\u53ef\u6682\u65f6\u5141\u8bb8Maintainer\u76f4\u63a5Push\u3002<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u516d\u3001\u5e38\u89c1\u95ee\u9898<\/h2>\n<h3>1. repository not found<\/h3>\n<p>\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>URL\u9519\u8bef&#xff1b;<\/li>\n<li>\u9879\u76ee\u8def\u5f84\u9519\u8bef&#xff1b;<\/li>\n<li>GitLab\u8d26\u53f7\u6ca1\u6709\u6743\u9650\u3002<\/li>\n<\/ul>\n<p>\u5904\u7406&#xff1a;<\/p>\n<p>\u91cd\u65b0\u4eceGitLab Clone\u6309\u94ae\u590d\u5236\u5730\u5740<br \/>\n\u68c0\u67e5origin<br \/>\n\u68c0\u67e5\u9879\u76ee\u6210\u5458\u6743\u9650<\/p>\n<h3>2. HTTP Basic: Access denied<\/h3>\n<p>\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef&#xff1b;<\/li>\n<li>GitLab\u8981\u6c42\u4f7f\u7528\u8bbf\u95ee\u4ee4\u724c&#xff1b;<\/li>\n<li>\u5f53\u524d\u8d26\u53f7\u6ca1\u6709Push\u6743\u9650\u3002<\/li>\n<\/ul>\n<p>\u5904\u7406&#xff1a;<\/p>\n<p>\u786e\u8ba4GitLab\u7528\u6237\u540d<br \/>\n\u786e\u8ba4\u5bc6\u7801\u6216Token<br \/>\n\u8054\u7cfb\u7ba1\u7406\u5458\u786e\u8ba4\u8ba4\u8bc1\u65b9\u5f0f<\/p>\n<h3>3. rejected non-fast-forward<\/h3>\n<p>\u8bf4\u660e\u8fdc\u7a0b\u4ed3\u5e93\u5df2\u6709\u672c\u5730\u4e0d\u5b58\u5728\u7684\u63d0\u4ea4\u3002<\/p>\n<p>\u5e38\u89c1\u539f\u56e0&#xff1a;<\/p>\n<p>\u521b\u5efaGitLab\u9879\u76ee\u65f6\u52fe\u9009\u4e86README<\/p>\n<p>\u65b0\u9879\u76ee\u6700\u5e72\u51c0\u7684\u5904\u7406\u65b9\u6cd5&#xff1a;<\/p>\n<p>\u5220\u9664\u8fdc\u7a0b\u9879\u76ee<br \/>\n\u91cd\u65b0\u521b\u5efaBlank project<br \/>\n\u4e0d\u8981\u52fe\u9009README<br \/>\n\u91cd\u65b0Push<\/p>\n<p>\u4e0d\u8981\u76f4\u63a5\u4f7f\u7528Force Push\u3002<\/p>\n<h3>4. \u80fd\u770b\u5230Commit\u4f46\u770b\u4e0d\u5230Tag<\/h3>\n<p>\u8bf4\u660e\u6807\u7b7e\u6ca1\u6709Push\u3002<\/p>\n<p>\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> push origin <span class=\"token parameter variable\">&#8211;tags<\/span><\/p>\n<p>\u6216Push\u65f6\u52fe\u9009&#xff1a;<\/p>\n<p>Include Tags<\/p>\n<h3>5. TortoiseGit Add\u663e\u793aThere is nothing to add<\/h3>\n<p>\u53ef\u80fd\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u9009\u4e2d\u7684\u662f\u67d0\u4e2a\u5b50\u76ee\u5f55&#xff1b;<\/li>\n<li>\u5f85\u6dfb\u52a0\u6587\u4ef6\u4f4d\u4e8e\u5176\u4ed6\u76ee\u5f55&#xff1b;<\/li>\n<li>\u6587\u4ef6\u5df2\u7ecf\u8fdb\u5165\u6682\u5b58\u533a&#xff1b;<\/li>\n<li>\u6587\u4ef6\u88ab.gitignore\u5ffd\u7565\u3002<\/li>\n<\/ul>\n<p>\u5e94\u4ece\u4ed3\u5e93\u6839\u76ee\u5f55\u6267\u884c&#xff1a;<\/p>\n<p>Check for modifications<\/p>\n<p>\u68c0\u67e5&#xff1a;<\/p>\n<p>non-versioned<br \/>\nadded<br \/>\nignored<\/p>\n<h3>6. Add\u540e\u6587\u4ef6\u4ecd\u663e\u793a<\/h3>\n<p>\u5982\u679c\u72b6\u6001\u662f&#xff1a;<\/p>\n<p>Added<\/p>\n<p>\u8bf4\u660e\u5df2\u7ecf\u6210\u529f\u8fdb\u5165\u6682\u5b58\u533a&#xff0c;\u53ea\u662f\u5c1a\u672aCommit\u3002<\/p>\n<p>Add\u6210\u529f\u5e76\u4e0d\u4ee3\u8868\u5217\u8868\u4f1a\u7acb\u5373\u6d88\u5931\u3002<\/p>\n<h3>7. \u63d0\u4ea4\u5927\u91cf\u6587\u4ef6\u65f6\u663e\u793aAuto packing<\/h3>\n<p>\u63d0\u793a&#xff1a;<\/p>\n<p>Auto packing the repository in background for optimum performance.<\/p>\n<p>\u5c5e\u4e8e\u6b63\u5e38\u7684Git\u4ed3\u5e93\u538b\u7f29\u6574\u7406\u8fc7\u7a0b\u3002<\/p>\n<p>\u4e0d\u8981\u70b9\u51fbAbort&#xff0c;\u7b49\u5f85\u5b8c\u6210\u5373\u53ef\u3002<\/p>\n<h3>8. \u9879\u76ee\u540d\u79f0\u5199\u9519<\/h3>\n<p>GitLab\u663e\u793a\u540d\u79f0\u53ef\u5728&#xff1a;<\/p>\n<p>Settings<br \/>\n\u2192 General<\/p>\n<p>\u4fee\u6539\u3002<\/p>\n<p>\u9879\u76ee\u8def\u5f84\u6539\u540d\u540e&#xff0c;\u672c\u5730\u9700\u8981\u66f4\u65b0origin&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> remote set-url origin <span class=\"token string\">&#034;\u65b0\u7684\u4ed3\u5e93\u5730\u5740&#034;<\/span><\/p>\n<p>\u672c\u5730\u6587\u4ef6\u5939\u53ef\u76f4\u63a5\u91cd\u547d\u540d&#xff0c;\u4e0d\u5f71\u54cd\u5185\u90e8Git\u5386\u53f2\u3002<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u4e03\u3001\u4ece\u96f6\u5efa\u5e93\u5b8c\u6574\u68c0\u67e5\u6e05\u5355<\/h2>\n<h3>\u8f6f\u4ef6\u73af\u5883<\/h3>\n<p>\u25a1 \u5df2\u5b89\u88c5Git for Windows<br \/>\n\u25a1 \u5df2\u5b89\u88c5TortoiseGit<br \/>\n\u25a1 \u5df2\u5b89\u88c57-Zip<br \/>\n\u25a1 git &#8211;version\u6b63\u5e38<br \/>\n\u25a1 TortoiseGit\u53f3\u952e\u83dc\u5355\u6b63\u5e38<\/p>\n<h3>\u672c\u5730\u4ed3\u5e93<\/h3>\n<p>\u25a1 \u539f\u59cb\u6e90\u7801\u5df2\u5907\u4efd<br \/>\n\u25a1 \u6e90\u7801\u5df2\u6b63\u786e\u89e3\u538b<br \/>\n\u25a1 \u4ed3\u5e93\u6839\u76ee\u5f55\u7ed3\u6784\u6b63\u786e<br \/>\n\u25a1 .gitignore\u5df2\u914d\u7f6e<br \/>\n\u25a1 \u7528\u6237\u540d\u548c\u90ae\u7bb1\u5df2\u914d\u7f6e<br \/>\n\u25a1 \u5df2\u521d\u59cb\u5316Git\u4ed3\u5e93<br \/>\n\u25a1 \u672a\u52fe\u9009Make it Bare<br \/>\n\u25a1 \u5df2Add\u5168\u90e8\u6587\u4ef6<br \/>\n\u25a1 non-versioned&#061;0<br \/>\n\u25a1 \u5df2\u5b8c\u6210Commit<br \/>\n\u25a1 \u91cd\u8981\u7248\u672c\u5df2\u521b\u5efaTag<br \/>\n\u25a1 \u5de5\u4f5c\u533a\u5e72\u51c0<\/p>\n<h3>GitLab\u670d\u52a1\u5668<\/h3>\n<p>\u25a1 \u521b\u5efaBlank project<br \/>\n\u25a1 \u9879\u76ee\u540d\u6b63\u786e<br \/>\n\u25a1 \u9879\u76eeslug\u6b63\u786e<br \/>\n\u25a1 Visibility\u9009\u62e9Private<br \/>\n\u25a1 \u672a\u52fe\u9009Initialize repository with README<br \/>\n\u25a1 \u6210\u5458\u6743\u9650\u6b63\u786e<\/p>\n<h3>\u672c\u5730\u4e0e\u8fdc\u7a0b\u5173\u8054<\/h3>\n<p>\u25a1 \u5df2\u590d\u5236\u6b63\u786eClone URL<br \/>\n\u25a1 \u5df2\u914d\u7f6eorigin<br \/>\n\u25a1 git remote -v\u6b63\u786e<br \/>\n\u25a1 \u5df2Push master<br \/>\n\u25a1 \u5df2\u5efa\u7acborigin\/master\u8ddf\u8e2a\u5173\u7cfb<br \/>\n\u25a1 \u5df2Push\u5168\u90e8Tags<\/p>\n<h3>\u6700\u7ec8\u9a8c\u8bc1<\/h3>\n<p>\u25a1 GitLab\u53ef\u4ee5\u770b\u5230\u6e90\u7801<br \/>\n\u25a1 Commits\u6570\u91cf\u6b63\u786e<br \/>\n\u25a1 Tags\u6570\u91cf\u6b63\u786e<br \/>\n\u25a1 Branches\u6570\u91cf\u6b63\u786e<br \/>\n\u25a1 \u672c\u5730\u5de5\u4f5c\u533a\u5e72\u51c0<br \/>\n\u25a1 \u672c\u5730\u663e\u793aorigin\/master<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u516b\u3001\u5b8c\u6574\u547d\u4ee4\u6c47\u603b<\/h2>\n<p><span class=\"token comment\"># \u914d\u7f6e\u7528\u6237\u4fe1\u606f<\/span><br \/>\n<span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> user.name <span class=\"token string\">&#034;wang wen&#034;<\/span><br \/>\n<span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> user.email <span class=\"token string\">&#034;1510513818&#064;qq.com&#034;<\/span><\/p>\n<p><span class=\"token comment\"># Linux\u6e90\u7801\u5efa\u8bae\u914d\u7f6e<\/span><br \/>\n<span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> core.autocrlf <span class=\"token boolean\">false<\/span><br \/>\n<span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;global<\/span> core.longpaths <span class=\"token boolean\">true<\/span><\/p>\n<p><span class=\"token comment\"># \u521d\u59cb\u5316\u672c\u5730\u4ed3\u5e93<\/span><br \/>\n<span class=\"token function\">git<\/span> init<\/p>\n<p><span class=\"token comment\"># Linux\u7279\u6b8a\u8def\u5f84\u517c\u5bb9<\/span><br \/>\n<span class=\"token function\">git<\/span> config <span class=\"token parameter variable\">&#8211;local<\/span> core.protectNTFS <span class=\"token boolean\">false<\/span><\/p>\n<p><span class=\"token comment\"># \u52a0\u5165\u5168\u90e8\u53d8\u5316<\/span><br \/>\n<span class=\"token function\">git<\/span> <span class=\"token function\">add<\/span> <span class=\"token parameter variable\">-A<\/span><\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u63d0\u4ea4<\/span><br \/>\n<span class=\"token function\">git<\/span> commit <span class=\"token parameter variable\">-m<\/span> <span class=\"token string\">&#034;\u5bfc\u5165MCH Linux\u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u6807\u7b7e<\/span><br \/>\n<span class=\"token function\">git<\/span> tag <span class=\"token parameter variable\">-a<\/span> baseline-imx-4.1.15-2.1.0-ga <span class=\"token parameter variable\">-m<\/span> <span class=\"token string\">&#034;MCH Linux\u539f\u59cb\u5185\u6838\u57fa\u7ebf\u7248\u672c&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u914d\u7f6e\u8fdc\u7a0b\u4ed3\u5e93<\/span><br \/>\n<span class=\"token function\">git<\/span> remote <span class=\"token function\">add<\/span> origin <span class=\"token string\">&#034;http:\/\/172.16.10.189:8080\/wwj\/mch_linux_kernel.git&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u8fdc\u7a0b\u5730\u5740<\/span><br \/>\n<span class=\"token function\">git<\/span> remote <span class=\"token parameter variable\">-v<\/span><\/p>\n<p><span class=\"token comment\"># \u9996\u6b21\u63a8\u9001\u5e76\u5efa\u7acb\u8ddf\u8e2a<\/span><br \/>\n<span class=\"token function\">git<\/span> push <span class=\"token parameter variable\">-u<\/span> origin master<\/p>\n<p><span class=\"token comment\"># \u63a8\u9001\u5168\u90e8\u6807\u7b7e<\/span><br \/>\n<span class=\"token function\">git<\/span> push origin <span class=\"token parameter variable\">&#8211;tags<\/span><\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u5206\u652f\u8ddf\u8e2a<\/span><br \/>\n<span class=\"token function\">git<\/span> branch <span class=\"token parameter variable\">-vv<\/span><\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u72b6\u6001<\/span><br \/>\n<span class=\"token function\">git<\/span> status<\/p>\n<p><span class=\"token comment\"># \u540e\u7eed\u65e5\u5e38\u540c\u6b65<\/span><br \/>\n<span class=\"token function\">git<\/span> pull<br \/>\n<span class=\"token function\">git<\/span> <span class=\"token function\">add<\/span> <span class=\"token parameter variable\">-A<\/span><br \/>\n<span class=\"token function\">git<\/span> commit <span class=\"token parameter variable\">-m<\/span> <span class=\"token string\">&#034;fix: \u4fee\u590d\u5177\u4f53\u95ee\u9898&#034;<\/span><br \/>\n<span class=\"token function\">git<\/span> push<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u4e5d\u3001\u6838\u5fc3\u539f\u5219<\/h2>\n<p>Add\u53ea\u662f\u51c6\u5907\u63d0\u4ea4<br \/>\nCommit\u53ea\u4fdd\u5b58\u5230\u672c\u5730<br \/>\nPush\u624d\u4f1a\u4e0a\u4f20\u670d\u52a1\u5668<br \/>\nPull\u7528\u4e8e\u83b7\u53d6\u670d\u52a1\u5668\u6700\u65b0\u4ee3\u7801<br \/>\nTag\u7528\u4e8e\u6807\u8bb0\u56fa\u5b9a\u7248\u672c<br \/>\nBranch\u7528\u4e8e\u9694\u79bb\u5e76\u884c\u5f00\u53d1<br \/>\norigin\u7528\u4e8e\u8fde\u63a5\u672c\u5730\u548c\u8fdc\u7a0b\u4ed3\u5e93<br \/>\n.git\u4fdd\u5b58\u5168\u90e8\u672c\u5730\u7248\u672c\u5386\u53f2<\/p>\n<p>\u53ea\u8981\u80fd\u591f\u56de\u7b54\u4ee5\u4e0b\u95ee\u9898&#xff0c;\u7248\u672c\u7ba1\u7406\u5c31\u662f\u6709\u6548\u7684&#xff1a;<\/p>\n<p>\u5f53\u524d\u6b63\u5f0f\u7248\u672c\u662f\u4ec0\u4e48&#xff1f;<br \/>\n\u8fd9\u4e2a\u7248\u672c\u76f8\u5bf9\u4e0a\u4e00\u7248\u4fee\u6539\u4e86\u4ec0\u4e48&#xff1f;<br \/>\n\u51fa\u73b0\u95ee\u9898\u65f6\u5e94\u8be5\u56de\u9000\u5230\u54ea\u4e2aTag&#xff1f;<br \/>\n\u8c01\u5728\u4ec0\u4e48\u65f6\u5019\u63d0\u4ea4\u4e86\u8fd9\u6b21\u4fee\u6539&#xff1f;<br \/>\n\u672c\u5730\u4ee3\u7801\u662f\u5426\u5df2\u7ecf\u540c\u6b65\u5230\u670d\u52a1\u5668&#xff1f;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668&#xff1a;\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357<br \/>\n\u4e00\u3001\u672c\u6587\u9002\u7528\u573a\u666f<br \/>\n\u672c\u6587\u9002\u7528\u4e8e\u4ee5\u4e0b\u573a\u666f&#xff1a;<br \/>\n\u516c\u53f8\u5df2\u7ecf\u90e8\u7f72\u597dGitLab\u670d\u52a1\u5668&#xff1b;\u5f00\u53d1\u7535\u8111\u4f7f\u7528Windows 10\u6216Windows 11&#xff1b;\u672c\u5730\u5df2\u6709\u4e00\u4efd\u6e90\u7801&#xff0c;\u5e0c\u671b\u5efa\u7acb\u5b8c\u6574\u7248\u672c\u8bb0\u5f55&#xff1b;\u4f7f\u7528Git for Windows\u548cTortoiseGit\u8fdb\u884c\u56fe\u5f62\u5316\u7ba1\u7406&#xff1b;\u9700\u8981\u628a\u672c\u5730\u63d0\u4ea4\u3001\u5206\u652f\u548c\u6807\u7b7e\u4e0a\u4f20\u5230\u516c\u53f8GitLab&amp;<\/p>\n","protected":false},"author":2,"featured_media":95873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[89,273,149,43],"topic":[],"class_list":["post-95879","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-git","tag-gitlab","tag-windows","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 - \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\/95879.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668&#xff1a;\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 \u4e00\u3001\u672c\u6587\u9002\u7528\u573a\u666f \u672c\u6587\u9002\u7528\u4e8e\u4ee5\u4e0b\u573a\u666f&#xff1a; \u516c\u53f8\u5df2\u7ecf\u90e8\u7f72\u597dGitLab\u670d\u52a1\u5668&#xff1b;\u5f00\u53d1\u7535\u8111\u4f7f\u7528Windows 10\u6216Windows 11&#xff1b;\u672c\u5730\u5df2\u6709\u4e00\u4efd\u6e90\u7801&#xff0c;\u5e0c\u671b\u5efa\u7acb\u5b8c\u6574\u7248\u672c\u8bb0\u5f55&#xff1b;\u4f7f\u7528Git for Windows\u548cTortoiseGit\u8fdb\u884c\u56fe\u5f62\u5316\u7ba1\u7406&#xff1b;\u9700\u8981\u628a\u672c\u5730\u63d0\u4ea4\u3001\u5206\u652f\u548c\u6807\u7b7e\u4e0a\u4f20\u5230\u516c\u53f8GitLab&amp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/95879.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-26T16:24:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162427-6a8f133b7a10f.png\" \/>\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=\"9 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/95879.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/95879.html\",\"name\":\"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-26T16:24:30+00:00\",\"dateModified\":\"2026-08-26T16:24:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/95879.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/95879.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/95879.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357\"}]},{\"@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":"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 - \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\/95879.html","og_locale":"zh_CN","og_type":"article","og_title":"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668&#xff1a;\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 \u4e00\u3001\u672c\u6587\u9002\u7528\u573a\u666f \u672c\u6587\u9002\u7528\u4e8e\u4ee5\u4e0b\u573a\u666f&#xff1a; \u516c\u53f8\u5df2\u7ecf\u90e8\u7f72\u597dGitLab\u670d\u52a1\u5668&#xff1b;\u5f00\u53d1\u7535\u8111\u4f7f\u7528Windows 10\u6216Windows 11&#xff1b;\u672c\u5730\u5df2\u6709\u4e00\u4efd\u6e90\u7801&#xff0c;\u5e0c\u671b\u5efa\u7acb\u5b8c\u6574\u7248\u672c\u8bb0\u5f55&#xff1b;\u4f7f\u7528Git for Windows\u548cTortoiseGit\u8fdb\u884c\u56fe\u5f62\u5316\u7ba1\u7406&#xff1b;\u9700\u8981\u628a\u672c\u5730\u63d0\u4ea4\u3001\u5206\u652f\u548c\u6807\u7b7e\u4e0a\u4f20\u5230\u516c\u53f8GitLab&amp;","og_url":"https:\/\/www.wsisp.com\/helps\/95879.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-26T16:24:30+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260826162427-6a8f133b7a10f.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"9 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/95879.html","url":"https:\/\/www.wsisp.com\/helps\/95879.html","name":"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-26T16:24:30+00:00","dateModified":"2026-08-26T16:24:30+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/95879.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/95879.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/95879.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Windows\u4e0b\u4ece\u96f6\u642d\u5efaGit\u672c\u5730\u4ed3\u5e93\u5e76\u8fde\u63a5\u516c\u53f8GitLab\u670d\u52a1\u5668\uff1a\u5b8c\u6574\u56fe\u5f62\u5316\u64cd\u4f5c\u6307\u5357"}]},{"@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\/95879","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=95879"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/95879\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/95873"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=95879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=95879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=95879"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=95879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}