The Diff command compares different revisions of a file and displays the differences found graphically.
The IDE's graphical Diff Viewer enables you to compare different versions of a file side by side using color coding to emphasize the differences between the files being compared.
The previous (
)
and next (
)
difference buttons in the toolbar enable you to navigate among the differences
in the file. You can also refresh the status and update files from within
the Diff Viewer using the Refresh Diff (
) and Update (
) buttons. When you are finished comparing
the files, you can commit your changes using the Diff Viewer's Commit button
(
).
)
and next difference (
)
arrow icons.The following icons enable you to make changes directly within the Diff Viewer
).
Inserts the highlighted text from the previous revision into the current
revision
).
Reverts the file's current version to the state of the selected previous
version.
).
Removes the highlighted text from the current version so that it mirrors the
previous version.