Git Subtree 使用December 15, 2025添加子树 #使用 git subtree 将外部仓库添加到项目中:git subtree add -P third-party/vendor/repo --squash <repo-git> mastercopy过滤 MERGE 提交 #使用正则表达式过滤合并提交:^(?!Merge).*$copy