比较文件夹并导出修改的文件

发布于 2024-08-20 21:38:24 字数 306 浏览 4 评论 0原文

我想知道是否有人可以帮助我解决以下问题。我与其他软件开发人员远程合作同一项目。我使用 subversion 和 tortoise 来管理我的代码。我认为其他开发商不会这样做。

当我们尝试共享代码时,这会产生问题,因为我们必须找出哪些文件被修改,这样我们就不会覆盖彼此的更改。是否有一个程序可以用来比较两个文件夹并让它标记哪些文件被修改并将这些文件导出到新目录?

我发现的最接近的是一个名为 DiffMerge 的程序。它找到文件夹之间发生更改的文件,但我必须手动浏览列表,复制路径并单独复制这些文件。如果我可以导出这些更改的文件,那就太棒了。

谢谢!

I was wondering if anyone could help me with the following. I work remotely with other software developers on the same project. I use subversion and tortoise to manage my code. I don't think the other developers do the same.

This creates problems when we try and share code, because we have to figure out which files were modified so we don't overwrite each others changes. Is there a program that I can use to compare two folders and have it mark which files are modified and export those files to a new directory?

The closest thing I have found was a program called DiffMerge. It finds the files that changed between the folders, but I have to manually go through the list, copy the paths and copy those files individually. It would be awesome if I could export those changed files.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

笑咖 2024-08-27 21:38:25

如果您使用的是 Windows,WinMerge 也非常好用。它可以让您复制和替换单个文件或文件夹,以及导出存档中的差异,这似乎就是您正在寻找的东西。

哦是的 - 它是免费和开源的。

WinMerge is also very good if you're on Windows. It will let you copy and replace individual files or folders, as well as export diffs in an archive, which seems like its what you're looking for.

oh yeah - its free and open source.

请你别敷衍 2024-08-27 21:38:24

超越比较将执行您所描述的操作。
而且,他们提供 30 天的免费试用。

它非常简单:

View -> Show Differences,
Right Click -> Copy To Folder

但是,我认为如果你使用 Git,它应该为你做分支和合并,如果你正确使用它的话......

Beyond Compare will do what you are describing.
And, they give a free 30-day trial.

It is litteraly as-easy-as:

View -> Show Differences,
Right Click -> Copy To Folder

However, I think if you are using Git, it should be doing the branching and merging for you, if you are using it properly...

少跟Wǒ拽 2024-08-27 21:38:24

这正是 SVN 的用途。我认为你应该说服其他开发人员使用存储库。在他们开始使用之前不要与他们合作

This is what exactly SVN is for. I think you should convice other developers to use repository. Dont even colloborate with them until they start using it

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文