Using Change Markers to View and Navigate Through Changes in the Editor
As you modify a file that is under version control, all changes are highlighted in the editor with the change markers that appear in the left gutter next to the modified lines, and show changes introduced since the most recent synchronization with the repository. On committing a file to the repository, the change markers disappear.
The changes you introduce to the text are color-coded:
A special toolbar is associated with each change marker, enabling you to perform the following operations:
- Navigate between changes using the and buttons in the change markers or the ⌃⌥⇧↓ or ⌃⌥⇧↑ keyboard shortcuts. See Navigating between Changes for details.
- Compare the current version with the last committed one using .
- Revert changes using .
- Put the previous version of the changed lines to the clipboard using .