Skip to content
A Sublime Text 2/3 plugin to see git diff in gutter
Python CSS Makefile
Branch: master
Clone or download
DeathAxe
DeathAxe Enhancement: Show commit hash in blame annotations
The default templates for line annotations and the status bar text are
modified to include the commit hash of the selected line.
Latest commit fce1965 Nov 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Fix: Typo Jun 1, 2018
docs Internal: Drop support for Sublime Text ST2 and ST3 pre-releases Oct 3, 2019
messages Cut 1.11.1 Oct 29, 2019
modules Fix: A saved as.. file is compared against the original one (#549) Oct 29, 2019
tests Internal: Update json_test Nov 2, 2017
themes Internal: Drop support for Sublime Text ST2 and ST3 pre-releases Oct 3, 2019
.gitattributes README: Move Documentation to GitHub Pages Jun 20, 2018
.gitignore README: Move Documentation to GitHub Pages Jun 20, 2018
Default (Linux).sublime-keymap Enhancement: Show line annotation manually Feb 6, 2019
Default (OSX).sublime-keymap Enhancement: Show line annotation manually Feb 6, 2019
Default (Windows).sublime-keymap Enhancement: Show line annotation manually Feb 6, 2019
Default.sublime-commands Internal: Drop support for Sublime Text ST2 and ST3 pre-releases Oct 3, 2019
GitGutter.sublime-settings Enhancement: Show commit hash in blame annotations Nov 9, 2019
LICENSE update license Dec 12, 2012
Main.sublime-menu
Preferences.sublime-settings Internal: Satisfy unit tests of Sublime JSON resources Sep 12, 2017
Preferences.sublime-settings-hints Enhancement: Show commit hash in blame annotations Nov 9, 2019
README.md Internal: Drop support for Sublime Text ST2 and ST3 pre-releases Oct 3, 2019
VERSION Cut 1.11.1 Oct 29, 2019
dependencies.json Internal: Drop support for Sublime Text ST2 and ST3 pre-releases Oct 3, 2019
gitgutter_popup.css Fix: Use Segoe UI Symbol for toolbars Apr 5, 2018
makefile
messages.json Cut 1.11.1 Oct 29, 2019
mkdocs.yml
plugin.py Internal: Drop support for Sublime Text ST2 and ST3 pre-releases Oct 3, 2019
release.py Internal: Add missing utf-8 coding hints Apr 4, 2018
release.sublime-commands Internal: Refactor built and release system Sep 14, 2017
setup.cfg Internal: Add setup.cfg to configure linters Oct 2, 2017
unittesting.json Revert a bunch of latest fixes due to missing review and some regress… Dec 4, 2016

README.md

GitGutter

A Sublime Text 3.1.1+ (3176) 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

You can’t perform that action at this time.