{"id":105005,"date":"2026-09-13T15:20:06","date_gmt":"2026-09-13T07:20:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/105005.html"},"modified":"2026-09-13T15:20:06","modified_gmt":"2026-09-13T07:20:06","slug":"worktrunk-%e9%9d%a2%e5%90%91%e5%b9%b6%e8%a1%8c-ai-agent-%e5%b7%a5%e4%bd%9c%e6%b5%81%e7%9a%84-git-worktree-%e7%ae%a1%e7%90%86-cli","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/105005.html","title":{"rendered":"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI"},"content":{"rendered":"<\/p>\n<p> \u5f53\u4f60\u540c\u65f6\u9a71\u52a8 5 \u5230 10 \u4e2a AI Agent \u5e76\u884c\u5904\u7406\u4efb\u52a1\u65f6&#xff0c;\u4f20\u7edf\u7684 Git \u5de5\u4f5c\u76ee\u5f55\u7ba1\u7406\u65b9\u5f0f\u4f1a\u8fc5\u901f\u5d29\u6e83\u2014\u2014Worktrunk \u8bd5\u56fe\u4ece\u5e95\u5c42\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<\/p>\n<h3>\u80cc\u666f&#xff1a;\u4e3a\u4ec0\u4e48 AI Agent \u65f6\u4ee3\u9700\u8981\u91cd\u65b0\u8bbe\u8ba1 Worktree \u5de5\u4f5c\u6d41<\/h3>\n<\/p>\n<p>Anthropic \u7684 Claude Code \u548c OpenAI \u7684 Codex \u7b49 AI \u7f16\u7801\u4ee3\u7406\u5df2\u7ecf\u5177\u5907\u5728\u6ca1\u6709\u4eba\u5de5\u76d1\u7763\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u7684\u80fd\u529b\u3002\u8fd9\u610f\u5473\u7740\u5f00\u53d1\u8005\u53ef\u4ee5\u540c\u65f6\u542f\u52a8 5 \u5230 10&#043; \u4e2a Agent&#xff0c;\u8ba9\u5b83\u4eec\u5404\u81ea\u5904\u7406\u4e0d\u540c\u7684\u5206\u652f\u4efb\u52a1\u3002\u7136\u800c&#xff0c;Git \u539f\u751f\u7684 git worktree \u529f\u80fd\u5728\u6613\u7528\u6027\u4e0a\u5b58\u5728\u663e\u8457\u7f3a\u9677&#xff1a;\u547d\u4ee4\u5197\u957f\u3001\u72b6\u6001\u7ba1\u7406\u7e41\u7410\u3001\u4e0a\u4e0b\u6587\u5207\u6362\u6210\u672c\u9ad8&#xff0c;\u5bfc\u81f4\u5728\u5b9e\u9645\u5de5\u4f5c\u4e2d\u5f88\u5c11\u6709\u4eba\u771f\u6b63\u5145\u5206\u5229\u7528\u5b83\u3002<\/p>\n<p>Worktrunk \u6b63\u662f\u4e3a\u586b\u8865\u8fd9\u4e00\u7f3a\u53e3\u800c\u751f\u2014\u2014\u5b83\u662f\u4e00\u4e2a\u4e13\u4e3a\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u8bbe\u8ba1\u7684 Git worktree \u7ba1\u7406 CLI \u5de5\u5177&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u8ba9 worktree \u7684\u521b\u5efa\u3001\u5207\u6362\u548c\u7ba1\u7406\u50cf\u5206\u652f\u64cd\u4f5c\u4e00\u6837\u76f4\u89c2\u3002<\/p>\n<\/p>\n<h3>\u4e09\u5927\u6838\u5fc3\u547d\u4ee4&#xff1a;\u6781\u7b80\u5de5\u4f5c\u6d41\u8bbe\u8ba1<\/h3>\n<\/p>\n<p>Worktrunk \u5c06\u590d\u6742\u7684 worktree \u64cd\u4f5c\u62bd\u8c61\u4e3a\u4e09\u4e2a\u6838\u5fc3\u547d\u4ee4&#xff0c;\u5927\u5e45\u964d\u4f4e\u4e86\u4f7f\u7528\u95e8\u69db\u3002<\/p>\n<p>wt switch \u5bf9\u5e94\u4e8e git worktree add&#xff0c;\u4f46\u8bed\u4e49\u66f4\u63a5\u8fd1 git checkout&#xff0c;\u652f\u6301\u6309\u540d\u79f0\u5feb\u901f\u5207\u6362\u3002wt list&#xff08;\u522b\u540d lt&#xff09;\u63d0\u4f9b\u7b80\u6d01\u7684 worktree \u5217\u8868\u89c6\u56fe&#xff0c;\u4e00\u76ee\u4e86\u7136\u5730\u5c55\u793a\u6bcf\u4e2a worktree \u5bf9\u5e94\u7684\u5206\u652f\u548c\u8def\u5f84\u3002wt remove \u5219\u5c01\u88c5\u4e86 worktree \u7684\u79fb\u9664\u903b\u8f91&#xff0c;\u907f\u514d\u624b\u52a8\u6e05\u7406\u5e26\u6765\u7684\u98ce\u9669\u3002<\/p>\n<p>\u8fd9\u79cd\u8bbe\u8ba1\u54f2\u5b66\u7684\u672c\u8d28\u662f&#xff1a;\u628a worktree \u5f53\u4f5c&#034;\u6709\u8def\u5f84\u6982\u5ff5\u7684\u5206\u652f&#034;\u6765\u5bf9\u5f85&#xff0c;\u800c\u975e\u4e24\u4e2a\u72ec\u7acb\u4ed3\u5e93\u7684\u8026\u5408\u4f53\u3002\u5bf9\u4e8e\u719f\u6089 Git \u5206\u652f\u6a21\u578b\u7684\u5f00\u53d1\u8005\u800c\u8a00&#xff0c;\u5b66\u4e60\u66f2\u7ebf\u51e0\u4e4e\u4e3a\u96f6\u3002<\/p>\n<\/p>\n<h3>\u5e76\u884c Agent \u7684\u6838\u5fc3\u4f18\u52bf&#xff1a;\u9694\u79bb\u4e0e\u7f13\u5b58\u5171\u4eab<\/h3>\n<\/p>\n<p>Worktrunk \u4e3a\u6bcf\u4e2a AI Agent \u63d0\u4f9b\u72ec\u7acb\u7684\u5de5\u4f5c\u76ee\u5f55&#xff0c;\u4ece\u6839\u672c\u4e0a\u6d88\u9664\u4e86\u591a\u4e2a Agent \u540c\u65f6\u64cd\u4f5c\u4ee3\u7801\u5e93\u65f6\u7684\u51b2\u7a81\u95ee\u9898\u3002\u6bcf\u4e2a Agent \u5728\u5404\u81ea\u7684 worktree \u4e2d\u8fd0\u884c&#xff0c;\u4e92\u4e0d\u5e72\u6270\u5176\u6587\u4ef6\u7cfb\u7edf\u72b6\u6001\u548c\u6784\u5efa\u4ea7\u7269\u3002<\/p>\n<p>\u66f4\u503c\u5f97\u5173\u6ce8\u7684\u662f\u6784\u5efa\u7f13\u5b58\u5171\u4eab\u673a\u5236\u3002\u5728\u652f\u6301\u786c\u94fe\u63a5\u6216\u8054\u5408\u6302\u8f7d\u7684\u6587\u4ef6\u7cfb\u7edf\u4e0a&#xff08;\u5982 APFS\u3001btrfs \u548c XFS&#xff09;&#xff0c;\u591a\u4e2a worktree \u53ef\u4ee5\u5171\u4eab target\/\u3001node_modules\/ \u7b49\u6784\u5efa\u7f13\u5b58\u76ee\u5f55&#xff0c;\u65e0\u9700\u91cd\u590d\u4e0b\u8f7d\u6216\u7f16\u8bd1\u4f9d\u8d56\u3002\u6839\u636e\u5b98\u65b9\u6570\u636e&#xff0c;\u5341\u4e2a worktree \u5171\u4eab\u540c\u4e00\u4efd\u7f13\u5b58\u65f6&#xff0c;\u9996\u6b21\u6784\u5efa\u5f00\u9500\u51e0\u4e4e\u4e3a\u96f6\u2014\u2014\u8fd9\u5bf9\u4e8e\u9700\u8981\u9891\u7e41\u5207\u6362\u4e0a\u4e0b\u6587\u7684\u591a Agent \u573a\u666f\u610f\u4e49\u91cd\u5927\u3002\\\\[1\\\\]<\/p>\n<\/p>\n<p> \u6784\u5efa\u7f13\u5b58\u9694\u79bb\u7684\u6ce8\u610f\u4e8b\u9879<\/p>\n<p>&gt;<\/p>\n<p> \u5728 NTFS \u6216 ext4 \u7b49\u4e0d\u652f\u6301\u8fd9\u4e9b\u6587\u4ef6\u7cfb\u7edf\u7ea7\u7279\u6027\u7684\u5e73\u53f0\u4e0a&#xff0c;Worktrunk \u76ee\u524d\u672a\u63d0\u4f9b\u7b49\u6548\u7684\u7f13\u5b58\u5171\u4eab\u65b9\u6848\u3002\u8fd9\u7c7b\u573a\u666f\u4e0b\u5efa\u8bae\u8003\u8651\u5728\u5bb9\u5668\u5316\u73af\u5883\u4e2d\u8fd0\u884c&#xff0c;\u6216\u5c06<br \/>\n target\/ \u76ee\u5f55\u6302\u8f7d\u5230 NFS\/cephFS \u7b49\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u3002\u8fd9\u662f\u4e00\u4e2a\u503c\u5f97\u4f5c\u8005\u5173\u6ce8\u7684\u4f18\u5316\u65b9\u5411\u3002<\/p>\n<\/p>\n<h3>\u81ea\u52a8\u5316\u5de5\u4f5c\u6d41&#xff1a;Hooks \u7cfb\u7edf\u4e0e LLM \u96c6\u6210<\/h3>\n<\/p>\n<p>Worktrunk \u7684 hooks \u7cfb\u7edf\u662f\u81ea\u52a8\u5316\u80fd\u529b\u7684\u5173\u952e\u8f7d\u4f53\u3002\u5b83\u5141\u8bb8\u7528\u6237\u5728\u7279\u5b9a\u7684\u751f\u547d\u5468\u671f\u4e8b\u4ef6&#xff08;\u5982 worktree \u521b\u5efa\u540e\u3001\u5207\u6362\u524d&#xff09;\u6267\u884c\u81ea\u5b9a\u4e49\u811a\u672c&#xff0c;\u5178\u578b\u7528\u6cd5\u5305\u62ec\u4f9d\u8d56\u5b89\u88c5\u3001\u5f00\u53d1\u670d\u52a1\u5668\u542f\u52a8\u3001\u73af\u5883\u914d\u7f6e\u7b49\u3002<\/p>\n<p>\u7ed3\u5408 -x \u6807\u5fd7&#xff0c;\u7528\u6237\u53ef\u4ee5\u5728\u521b\u5efa worktree \u540e\u81ea\u52a8\u542f\u52a8\u4efb\u610f\u547d\u4ee4&#xff1a;wt switch feature\/ai &#8212; -x cargo test\u3002\u5728 &#8212; \u4e4b\u540e\u7684\u53c2\u6570\u4f1a\u76f4\u63a5\u4f20\u9012\u7ed9\u8be5\u547d\u4ee4&#xff0c;\u8fd9\u4e3a\u6784\u5efa\u590d\u6742\u7684\u5de5\u4f5c\u6d41\u63d0\u4f9b\u4e86\u7075\u6d3b\u6027\u3002\\\\[2\\\\]<\/p>\n<p>\u6b64\u5916&#xff0c;Worktrunk \u8fd8\u96c6\u6210\u4e86 LLM \u81ea\u52a8\u751f\u6210 commit message \u7684\u529f\u80fd&#xff0c;\u4ee5\u53ca\u4e00\u952e merge\u3001rebase\u3001squash \u7b49\u5e38\u7528\u64cd\u4f5c\u3002\u4ea4\u4e92\u5f0f picker \u8ba9\u7528\u6237\u80fd\u5728\u591a\u4e2a worktree \u4e4b\u95f4\u5feb\u901f\u9009\u62e9\u76ee\u6807\u3002\u8fd9\u4e9b\u529f\u80fd\u5171\u540c\u6784\u6210\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684 Agent \u751f\u547d\u5468\u671f\u7ba1\u7406\u95ed\u73af\u3002<\/p>\n<\/p>\n<h3>PR \u96c6\u6210\u4e0e\u7aef\u53e3\u5206\u914d&#xff1a;\u751f\u4ea7\u5c31\u7eea\u7279\u6027<\/h3>\n<\/p>\n<p>wt switch pr:123 \u547d\u4ee4\u652f\u6301\u76f4\u63a5\u4ece GitHub\/GitLab \u62c9\u53d6 PR \u5206\u652f\u5e76\u68c0\u51fa&#xff0c;\u65e0\u9700\u624b\u52a8 fetch \u518d checkout\u3002\u8fd9\u4e00\u8bbe\u8ba1\u6d88\u9664\u4e86\u591a Agent \u534f\u4f5c\u65f6\u9700\u8981\u9891\u7e41\u5728\u7ec8\u7aef\u5207\u6362\u8fdc\u7a0b\u5f15\u7528\u64cd\u4f5c\u7684\u75db\u70b9\u3002<\/p>\n<p>\u5bf9\u4e8e\u524d\u7aef\u5f00\u53d1\u6216\u591a Agent \u5e76\u884c\u8dd1\u670d\u52a1\u7684\u573a\u666f&#xff0c;Worktrunk \u63d0\u4f9b\u4e86 hash_port \u6a21\u677f\u529f\u80fd\u2014\u2014\u6839\u636e worktree \u540d\u79f0\u7684\u54c8\u5e0c\u503c\u81ea\u52a8\u5206\u914d\u72ec\u7acb\u7684\u5f00\u53d1\u7aef\u53e3&#xff0c;\u786e\u4fdd\u591a\u4e2a Agent \u540c\u65f6\u542f\u52a8\u670d\u52a1\u65f6\u4e0d\u4f1a\u53d1\u751f\u7aef\u53e3\u51b2\u7a81\u3002\u8fd9\u4e00\u7ec6\u8282\u8bbe\u8ba1\u4f53\u73b0\u4e86\u4ea7\u54c1\u5bf9\u5b9e\u9645\u5de5\u4f5c\u6d41\u7684\u6df1\u5165\u7406\u89e3\u3002<\/p>\n<\/p>\n<h3>\u5b89\u88c5\u652f\u6301&#xff1a;\u5168\u5e73\u53f0\u8986\u76d6<\/h3>\n<\/p>\n<p>Worktrunk \u5df2\u652f\u6301\u591a\u79cd\u5b89\u88c5\u65b9\u5f0f&#xff0c;\u8986\u76d6\u4e86\u4e3b\u6d41\u5f00\u53d1\u73af\u5883&#xff1a;<\/p>\n<ul>\n<li>Homebrew&#xff1a;brew install worktrunk<\/li>\n<li>\n<\/li>\n<li>Cargo&#xff1a;cargo install worktrunk<\/li>\n<li>\n<\/li>\n<li>Windows&#xff1a;\u901a\u8fc7 Winget \u6216 git-wt<\/li>\n<li>\n<\/li>\n<li>Arch Linux&#xff1a;AUR \u5305<\/li>\n<li>\n<\/li>\n<li>Conda\/Pixi&#xff1a;\u9002\u5408 Python \u751f\u6001\u5f00\u53d1\u8005<\/li>\n<li>\n<p>\u8fd9\u79cd\u591a\u5e73\u53f0\u8986\u76d6\u7b56\u7565\u786e\u4fdd\u4e86\u65e0\u8bba\u5f00\u53d1\u8005\u4f7f\u7528\u4f55\u79cd\u5de5\u5177\u94fe&#xff0c;\u90fd\u80fd\u5feb\u901f\u4e0a\u624b\u3002<\/p>\n<\/p>\n<h3>\u63a8\u8350\u5b9e\u8df5&#xff1a;\u7ed3\u5408 Anthropic \u6700\u4f73\u6307\u5357<\/h3>\n<\/p>\n<p>\u6839\u636e\u5b98\u65b9\u6587\u6863\u63a8\u8350&#xff0c;Worktrunk \u5e94\u7ed3\u5408 Anthropic \u5b98\u65b9\u7684 Claude Code \u6700\u4f73\u5b9e\u8df5\u6307\u5357 \u548c incident.io \u53d1\u5e03\u7684\u5e76\u884c Agent \u5de5\u4f5c\u6d41\u53c2\u8003\u6587\u6863\u4e00\u8d77\u4f7f\u7528\u3002\u540e\u8005\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u7f16\u6392\u591a\u4e2a AI Agent&#xff0c;\u800c Worktrunk \u5219\u63d0\u4f9b\u4e86\u5e95\u5c42\u7684\u6587\u4ef6\u7cfb\u7edf\u9694\u79bb\u4fdd\u969c&#xff0c;\u4e8c\u8005\u5f62\u6210\u4e92\u8865\u3002<\/p>\n<p>\u5b8c\u6574\u6587\u6863\u90e8\u7f72\u5728 worktrunk.dev&#xff0c;\u5305\u542b\u8be6\u7ec6\u7684\u914d\u7f6e\u793a\u4f8b\u548c\u9ad8\u7ea7\u7528\u6cd5\u8bf4\u660e\u3002<\/p>\n<\/p>\n<h3>\u5c0f\u7ed3<\/h3>\n<\/p>\n<p>Worktrunk \u7684\u672c\u8d28\u662f\u4e00\u4e2a\u9488\u5bf9 AI Agent \u65f6\u4ee3\u7684 Git \u64cd\u4f5c\u5c42\u62bd\u8c61\u2014\u2014\u5b83\u5c06\u539f\u672c\u590d\u6742\u7684 worktree \u7ba1\u7406\u8f6c\u5316\u4e3a\u7b80\u6d01\u7684\u547d\u4ee4\u5f0f\u63a5\u53e3&#xff0c;\u5e76\u901a\u8fc7\u7f13\u5b58\u5171\u4eab\u3001\u81ea\u52a8\u542f\u52a8\u3001PR \u96c6\u6210\u7b49\u7279\u6027&#xff0c;\u4e3a\u591a Agent \u5e76\u884c\u5f00\u53d1\u63d0\u4f9b\u4e86\u575a\u5b9e\u7684\u57fa\u7840\u8bbe\u65bd\u3002\u5bf9\u4e8e\u9700\u8981\u540c\u65f6\u9a71\u52a8\u591a\u4e2a Claude Code \u6216 Codex \u5b9e\u4f8b\u7684\u56e2\u961f\u6765\u8bf4&#xff0c;\u5b83\u503c\u5f97\u7eb3\u5165\u65e5\u5e38\u5de5\u5177\u94fe\u3002<\/p>\n<\/p>\n<p> \u672a\u6765\u503c\u5f97\u5173\u6ce8\u7684\u662f&#xff1a;Worktrunk \u7684 hooks \u7cfb\u7edf\u662f\u5426\u4f1a\u652f\u6301\u4e8b\u4ef6\u8ba2\u9605&#xff08;\u5982 CI \u72b6\u6001\u53d8\u66f4\u3001PR \u8bc4\u8bba\u66f4\u65b0\u7b49 webhook \u56de\u8c03&#xff09;&#xff0c;\u4ee5\u53ca\u4e3a\u975e APFS\/btrfs\/XFS \u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u66ff\u4ee3\u7684\u7f13\u5b58\u5171\u4eab\u65b9\u6848\u3002\u8fd9\u4e24\u4e2a\u65b9\u5411\u7684\u5b8c\u5584\u5c06\u8fdb\u4e00\u6b65\u5de9\u56fa\u5b83\u5728\u5e76\u884c AI \u5de5\u4f5c\u6d41\u4e2d\u7684\u751f\u6001\u4f4d\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u4f60\u540c\u65f6\u9a71\u52a8 5 \u5230 10 \u4e2a AI Agent \u5e76\u884c\u5904\u7406\u4efb\u52a1\u65f6&#xff0c;\u4f20\u7edf\u7684 Git \u5de5\u4f5c\u76ee\u5f55\u7ba1\u7406\u65b9\u5f0f\u4f1a\u8fc5\u901f\u5d29\u6e83\u2014\u2014Worktrunk \u8bd5\u56fe\u4ece\u5e95\u5c42\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u80cc\u666f&#xff1a;\u4e3a\u4ec0\u4e48 AI Agent \u65f6\u4ee3\u9700\u8981\u91cd\u65b0\u8bbe\u8ba1 Worktree \u5de5\u4f5c\u6d41Anthropic \u7684 Claude Code \u548c OpenAI \u7684 Codex \u7b49 AI \u7f16\u7801\u4ee3\u7406\u5df2\u7ecf\u5177\u5907\u5728\u6ca1\u6709\u4eba\u5de5\u76d1\u7763\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u7684\u80fd\u529b\u3002\u8fd9\u610f\u5473\u7740\u5f00\u53d1\u8005\u53ef\u4ee5\u540c\u65f6\u542f\u52a8 5 \u5230 10 \u4e2a Agent&amp;#xff0c<\/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":[11926],"topic":[],"class_list":["post-105005","post","type-post","status-publish","format-standard","hentry","category-server","tag-worktrunk-"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI - \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\/105005.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5f53\u4f60\u540c\u65f6\u9a71\u52a8 5 \u5230 10 \u4e2a AI Agent \u5e76\u884c\u5904\u7406\u4efb\u52a1\u65f6&#xff0c;\u4f20\u7edf\u7684 Git \u5de5\u4f5c\u76ee\u5f55\u7ba1\u7406\u65b9\u5f0f\u4f1a\u8fc5\u901f\u5d29\u6e83\u2014\u2014Worktrunk \u8bd5\u56fe\u4ece\u5e95\u5c42\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u80cc\u666f&#xff1a;\u4e3a\u4ec0\u4e48 AI Agent \u65f6\u4ee3\u9700\u8981\u91cd\u65b0\u8bbe\u8ba1 Worktree \u5de5\u4f5c\u6d41Anthropic \u7684 Claude Code \u548c OpenAI \u7684 Codex \u7b49 AI \u7f16\u7801\u4ee3\u7406\u5df2\u7ecf\u5177\u5907\u5728\u6ca1\u6709\u4eba\u5de5\u76d1\u7763\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u7684\u80fd\u529b\u3002\u8fd9\u610f\u5473\u7740\u5f00\u53d1\u8005\u53ef\u4ee5\u540c\u65f6\u542f\u52a8 5 \u5230 10 \u4e2a Agent&amp;#xff0c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/105005.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-13T07:20:06+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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/105005.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/105005.html\",\"name\":\"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-13T07:20:06+00:00\",\"dateModified\":\"2026-09-13T07:20:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/105005.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/105005.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/105005.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI\"}]},{\"@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":"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI - \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\/105005.html","og_locale":"zh_CN","og_type":"article","og_title":"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5f53\u4f60\u540c\u65f6\u9a71\u52a8 5 \u5230 10 \u4e2a AI Agent \u5e76\u884c\u5904\u7406\u4efb\u52a1\u65f6&#xff0c;\u4f20\u7edf\u7684 Git \u5de5\u4f5c\u76ee\u5f55\u7ba1\u7406\u65b9\u5f0f\u4f1a\u8fc5\u901f\u5d29\u6e83\u2014\u2014Worktrunk \u8bd5\u56fe\u4ece\u5e95\u5c42\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u80cc\u666f&#xff1a;\u4e3a\u4ec0\u4e48 AI Agent \u65f6\u4ee3\u9700\u8981\u91cd\u65b0\u8bbe\u8ba1 Worktree \u5de5\u4f5c\u6d41Anthropic \u7684 Claude Code \u548c OpenAI \u7684 Codex \u7b49 AI \u7f16\u7801\u4ee3\u7406\u5df2\u7ecf\u5177\u5907\u5728\u6ca1\u6709\u4eba\u5de5\u76d1\u7763\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u7684\u80fd\u529b\u3002\u8fd9\u610f\u5473\u7740\u5f00\u53d1\u8005\u53ef\u4ee5\u540c\u65f6\u542f\u52a8 5 \u5230 10 \u4e2a Agent&amp;#xff0c","og_url":"https:\/\/www.wsisp.com\/helps\/105005.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-13T07:20:06+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/105005.html","url":"https:\/\/www.wsisp.com\/helps\/105005.html","name":"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-13T07:20:06+00:00","dateModified":"2026-09-13T07:20:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/105005.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/105005.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/105005.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Worktrunk: \u9762\u5411\u5e76\u884c AI Agent \u5de5\u4f5c\u6d41\u7684 Git Worktree \u7ba1\u7406 CLI"}]},{"@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\/105005","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=105005"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/105005\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=105005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=105005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=105005"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=105005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}