<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>工作树 | 折腾啥</title><description>Power Users/Automators 折腾/讨论/分享各种开源工具/脚本/自动化工作流👥 @zhetengsha_group📌 合集 https://t.me/zhetengsha/2🎁 恰饭 https://t.me/zhetengsha/957📢 广告投放 @xream @xream_botBuy ads: https://telega.io/c/zhetengshafeedId:55438372655431680+userId:62307599601855488</description><link>http://telegram.zhetengsha.eu.org</link><item><title>git-sync: 面向 Git 多工作树的实时同步工具• 基于 watchdog 实时监听文件变更，可将 feature 分支的修改同步到 main 或 staging 工作树，适合本地联调与预发布验证• 原生理解 Git 规则，自动遵循源目录与目标目录的 .gitignore，并在忽略策略冲突时立即终止同步，避免污染目标环境• 启动和退出时会自动执行 git reset --hard 与 git clean -fd，还支持在同步期间包裹运行 npm、make 等命令，方便串联开发与测试流程</title><link>http://telegram.zhetengsha.eu.org/posts/5161</link><guid isPermaLink="true">http://telegram.zhetengsha.eu.org/posts/5161</guid><pubDate>Mon, 23 Mar 2026 02:03:27 GMT</pubDate><content:encoded>&lt;u&gt;git-sync: 面向 Git 多工作树的实时同步工具&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;• 基于 watchdog 实时监听文件变更，可将 feature 分支的修改同步到 main 或 staging &lt;mark class=&quot;highlight&quot;&gt;工作树&lt;/mark&gt;，适合本地联调与预发布验证&lt;br /&gt;&lt;br /&gt;• 原生理解 Git 规则，自动遵循源目录与目标目录的 .gitignore，并在忽略策略冲突时立即终止同步，避免污染目标环境&lt;br /&gt;&lt;br /&gt;• 启动和退出时会自动执行 git reset --hard 与 git clean -fd，还支持在同步期间包裹运行 npm、make 等命令，方便串联开发与测试流程&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://github.com/KapyAgent/git-sync&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;https://github.com/KapyAgent/git-sync&quot;&gt;https://github.com/KapyAgent/git-sync&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;/search/result?q=%23Git&quot; title=&quot;#Git&quot;&gt;#Git&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%B7%A5%E4%BD%9C%E6%A0%91%E5%90%8C%E6%AD%A5&quot; title=&quot;#工作树同步&quot;&gt;#工作树同步&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%BC%80%E5%8F%91%E6%95%88%E7%8E%87&quot; title=&quot;#开发效率&quot;&gt;#开发效率&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Python&quot; title=&quot;#Python&quot;&gt;#Python&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23watchdog&quot; title=&quot;#watchdog&quot;&gt;#watchdog&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23GitHub&quot; title=&quot;#GitHub&quot;&gt;#GitHub&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%B7%A5%E5%85%B7&quot; title=&quot;#工程化工具&quot;&gt;#工程化工具&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23worktree&quot; title=&quot;#worktree&quot;&gt;#worktree&lt;/a&gt;&lt;a class=&quot;tgme_widget_message_link_preview&quot; href=&quot;https://github.com/KapyAgent/git-sync&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;Contribute to KapyAgent/git-sync development by creating an account on GitHub.&quot;&gt;
  
  &lt;div class=&quot;link_preview_site_name accent_color&quot;&gt;GitHub&lt;/div&gt;
  &lt;img class=&quot;link_preview_image&quot; alt=&quot;GitHub - KapyAgent/git-sync&quot; src=&quot;/static/https://cdn4.telesco.pe/file/f34fGhhRrYbi9rVn_Ae6Gy_VEGJP8wCWQsry8f67gIHks2Cdho-8x-m5fQdFWbrOHAxWuspD6T8-DDbfmO5O-y5wLJFHOqmx9IjGidLNlw8qI_V2V7HLDoqr_iGeRFmVHcEW7dEF_foqcrejIWdlratEPUyX8mKHlhNNAFhFZdpA8UR1dVxB2BR7cXRsu12Gkva2IN5JfXWi7cwVPVI4uNC7wE9YRqP7PveSTY1jKE5pDU41j0o9lT1ocX3-PGBqS-Xok91jw7AFQVFxlbuukSQYPSDT6EXbqz-JH8qi_DyyrroU8YGeC-sTBxHcGpxkqoKyk31s502auvLLjhhR3g.jpg&quot; width=&quot;1200&quot; height=&quot;630&quot; loading=&quot;eager&quot; /&gt;
  &lt;div class=&quot;link_preview_title&quot;&gt;GitHub - KapyAgent/git-sync&lt;/div&gt;
  &lt;div class=&quot;link_preview_description&quot;&gt;Contribute to KapyAgent/git-sync development by creating an account on GitHub.&lt;/div&gt;
&lt;/a&gt;</content:encoded></item><item><title>Mori: 面向 Git 项目与工作树组织的原生 macOS 工作区终端• 以 项目 和 Git 工作树 为核心组织终端环境，每个分支检出对应独立的 tmux 持久化会话，适合并行开发与多分支切换• 基于 libghostty 与 Metal 提供 GPU 加速终端渲染，同时结合原生 macOS 侧边栏、命令面板、通知与快捷键，兼顾性能与系统体验• 内置 MoriGit、MoriTmux、SQLite 持久化与 Unix socket IPC，并提供 CLI，可直接完成项目打开、工作树创建、焦点切换与命令下发</title><link>http://telegram.zhetengsha.eu.org/posts/5158</link><guid isPermaLink="true">http://telegram.zhetengsha.eu.org/posts/5158</guid><pubDate>Sun, 22 Mar 2026 10:04:53 GMT</pubDate><content:encoded>&lt;div class=&quot;image-list-container image-list-odd&quot;&gt;
      &lt;button type=&quot;button&quot; class=&quot;image-preview-button image-preview-wrap&quot; popovertarget=&quot;modal-5158-0&quot; popovertargetaction=&quot;show&quot; aria-label=&quot;Open image preview: Mori: 面向 Git 项目与工作树组织的原生 macOS 工作区终端• 以 项目 和 Git 工作树 为核心组织终端环境，每个分支检出对应独立的 tmux 持久化会话，适合并行开发与多分支切换• 基于 libghostty 与 Metal 提供 GPU 加速终端渲染，同时结合原生 macOS 侧边栏、命令面板、通知与快捷键，兼顾性能与系统体验• 内置 MoriGit、MoriTmux、SQLite 持久化与 Unix socket IPC，并提供 CLI，可直接完成项目打开、工作树创建、焦点切换与命令下发&quot;&gt;
        &lt;img src=&quot;/static/https://cdn5.telesco.pe/file/RGkpz7rF07pYcTVQizFuK1gMg1gdw6TIUGy7rqATWf53vvuaBSlYt0sUtkrSMtSeUWc8JdgGOkEXE2bonPvc8mbNE40hVtZ-L4CohvvSVrOvACxM3lulGIxVzKc9o_PqxvMBac4T2FDV9-1cKS2oTdtiP95g1iNglwj2xnBcHLS0B2hAIHJcvbwIICsM8KtEIvo3fxx0KMdDeIZ-kRCNvHug52zClyZYm5cQSpu7qRPS45DyNbj4NR2721iGH-BJG6Jtx5VfVMRDgswyZMHnSLdGiDl1ch0kADmwBRueRwEmP4fZTi_TfcBBoaVm1IbYfAp0iPW6YoYf_yR1wp1epg.jpg&quot; alt=&quot;Mori: 面向 Git 项目与工作树组织的原生 macOS 工作区终端• 以 项目 和 Git 工作树 为核心组织终端环境，每个分支检出对应独立的 tmux 持久化会话，适合并行开发与多分支切换• 基于 libghostty 与 Metal 提供 GPU 加速终端渲染，同时结合原生 macOS 侧边栏、命令面板、通知与快捷键，兼顾性能与系统体验• 内置 MoriGit、MoriTmux、SQLite 持久化与 Unix socket IPC，并提供 CLI，可直接完成项目打开、工作树创建、焦点切换与命令下发&quot; width=&quot;800&quot; height=&quot;570&quot; loading=&quot;eager&quot; /&gt;
      &lt;/button&gt;
      &lt;div class=&quot;modal&quot; id=&quot;modal-5158-0&quot; popover=&quot;auto&quot; aria-label=&quot;Image preview&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__backdrop&quot; popovertarget=&quot;modal-5158-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;&lt;/button&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__close&quot; popovertarget=&quot;modal-5158-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;×&lt;/button&gt;
        &lt;div class=&quot;modal__surface&quot;&gt;
          
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;&lt;u&gt;Mori: 面向 Git 项目与工作树组织的原生 macOS 工作区终端&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;• 以 项目 和 Git &lt;mark class=&quot;highlight&quot;&gt;工作树&lt;/mark&gt; 为核心组织终端环境，每个分支检出对应独立的 tmux 持久化会话，适合并行开发与多分支切换&lt;br /&gt;&lt;br /&gt;• 基于 libghostty 与 Metal 提供 GPU 加速终端渲染，同时结合原生 macOS 侧边栏、命令面板、通知与快捷键，兼顾性能与系统体验&lt;br /&gt;&lt;br /&gt;• 内置 MoriGit、MoriTmux、SQLite 持久化与 Unix socket IPC，并提供 CLI，可直接完成项目打开、工作树创建、焦点切换与命令下发&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://github.com/vaayne/mori&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;https://github.com/vaayne/mori&quot;&gt;https://github.com/vaayne/mori&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;/search/result?q=%23macOS&quot; title=&quot;#macOS&quot;&gt;#macOS&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E7%BB%88%E7%AB%AF%E5%B7%A5%E5%85%B7&quot; title=&quot;#终端工具&quot;&gt;#终端工具&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Git&quot; title=&quot;#Git&quot;&gt;#Git&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%B7%A5%E4%BD%9C%E6%A0%91&quot; title=&quot;#工作树&quot;&gt;#工作树&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23tmux&quot; title=&quot;#tmux&quot;&gt;#tmux&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E5%BC%80%E5%8F%91%E6%95%88%E7%8E%87&quot; title=&quot;#开发效率&quot;&gt;#开发效率&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23SwiftUI&quot; title=&quot;#SwiftUI&quot;&gt;#SwiftUI&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23Ghostty&quot; title=&quot;#Ghostty&quot;&gt;#Ghostty&lt;/a&gt;</content:encoded></item></channel></rss>