jisaacks / GitGutter

A Sublime Text 2/3 plugin to see git diff in gutter
MIT License
3.88k stars 225 forks source link
color-scheme gitgutter sublime-text

GitGutter

A Sublime Text plug-in to show information about files in a git repository:

  1. Gutter Icons indicating inserted, modified or deleted lines
  2. Diff Popup with details about modified lines
  3. Status Bar Text with information about file and repository

and provides some commands like:

  1. Goto Change to navigate between modified lines
  2. Copy from Commit to copy the original content from the commit
  3. Revert to Commit to revert a modified hunk to the original state in a commit

Gutter Icons & Status Bar Text

screenshot

The icons of the default theme have the following meaning:

Icon Description
inserted inserted line
changed modified line
deleted deleted region borders
ignored ignored file
untracked untracked file

Diff Popup

The diff popup shows the original content from the commit or the differences between it and the working content.

diff_popup_screenshot

The toolbar provides some commands to interact with or modify the changes.

symbol meaning of the symbol
× close the popup
goto to first change
goto to previous change
goto to next change
≈, ≉ enable/disable difference highlighting
copy the original content from the commit
revert a modified hunk to the original state in a commit

Documentation

Please read https://jisaacks.github.io/GitGutter/ for detailed information about