<?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>watchdog | 折腾啥</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;• 基于 &lt;mark class=&quot;highlight&quot;&gt;watchdog&lt;/mark&gt; 实时监听文件变更，可将 feature 分支的修改同步到 main 或 staging 工作树，适合本地联调与预发布验证&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></channel></rss>