在hg或git中的两个完整目录/项目之间有区别吗? [英] Diffing between two entire directories/projects in hg or git?
问题描述
我继承了最初存储在CVS中的所有版本的项目.我进行了许多编辑,并尝试比较在原始目录中所做的所有更改,包括新添加的文件和旧文件.
I inherited a project originally stored in CVS with all the revisions. I made quite a few edits, and I'm trying to compare all the changes I made in the original directory, in regards to new files added versus the old ones.
在hg/git中是否有某种实用程序,我可以在其中进行树形比较,或者类似的功能?这么说,在新添加的文件,已删除的文件之间有一个标记,我要求太多吗?
Is there some sort of utility for hg/git where I can do a tree diff, or something of that nature? So that say, there's a mark between newly added files, deleted files, am I asking for too much?
推荐答案
git diff
正是这样做的.但它仅适用于git项目.
git diff
does exactly that. but it only works for git projects.
hg diff
,svn diff
几乎每个版本控制系统都可以比较目录树
hg diff
, svn diff
pretty every version control system can diff directory trees
这篇关于在hg或git中的两个完整目录/项目之间有区别吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!