Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图diff在window7上运行GnuWin32,以生成一个补丁文件,它不断地返回一个错误,说它找不到文件。只有它声称要查找的文件不是我要求的文件:两者都是。
diff
>diff -r html_orig html_mod diff: html_orig/html_mod: No such file or directory
html_orig并且html_mod都是目录。这适用于 Windows XP,但不适用于 Windows 7。
html_orig
html_mod
呃,没有什么问题diff,问题是运营商。-r区分目录时需要该选项。
-r
GnuWindiff提供的已经 超过 8 年了。
我强烈建议使用更现代的东西,也许 git diff
git diff