Next: , Previous: , Up: CVS commands   [Contents][Index]


A.11 diff—Show differences between revisions

The diff command is used to compare different revisions of files. The default action is to compare your working files with the revisions they were based on, and report any differences that are found.

If any file names are given, only those files are compared. If any directories are given, all files under them will be compared.

The exit status for diff is different than for other CVS commands; for details See Exit status.