比较文件夹并导出修改的文件
我想知道是否有人可以帮助我解决以下问题。我与其他软件开发人员远程合作同一项目。我使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您使用的是 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.
超越比较将执行您所描述的操作。
而且,他们提供 30 天的免费试用。
它非常简单:
但是,我认为如果你使用 Git,它应该为你做分支和合并,如果你正确使用它的话......
Beyond Compare will do what you are describing.
And, they give a free 30-day trial.
It is litteraly as-easy-as:
However, I think if you are using Git, it should be doing the branching and merging for you, if you are using it properly...
这正是 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