ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Git​Diff​View

by predragnikolic ST3 OS XLinux

A sublime text 3 plugin. See all modified files and preview their changes.

Labels git, diff

Details

Installs

  • Total 761
  • Win 0
  • OS X 376
  • Linux 385
Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 4 3 1 1 3 6 4 1 0 5 3 10 7 10 3 4 1 0 2 3 8 4 1 1 2 2 3 2 2 2 1 1 5 2 3 1 0 4 2 1 2 1 4 2 3
Linux 0 7 0 1 2 4 3 2 7 6 5 5 10 11 7 3 3 4 1 2 2 2 4 2 3 2 1 2 5 2 4 2 2 6 1 1 3 0 2 0 3 5 2 4 5 3

Readme

Source
raw.​githubusercontent.​com

Git Diff View - Sublime Text 3

Get a quick overview of changes before commiting them.

Example

Features

  • Show all modified files
  • Show the diff view for a file
  • Stage/Unstage files (Staged files are marked with “✔”)
  • Dismiss changes for a file
  • Go to a file

Installation

Stable Version

Open the command palette and run Package Control: Install Package, then select GitDiffView.

Development Version

  • Clone this repository to sublime-text-3/Packages folder.
  • Rename the folder to GitDiffView.
  • Done. :wink:

Instructions

The default keybinding for toggling the view is ctrl+shift+g(Linux) or alt+shift+g(Mac). The git view won't open if there are no git changes.

Inside the Git Status view you can use the following keybinds:

a - stage/unstage a file
  d - dismiss changes to a file
  g - go to a file

Type of modification will be shown in the git status, next to the file name. Here is a list of the types:

?? - Untracked
     A - Added
     M - Modified
     D - Deleted
     R - Renamed
     C - Copied
    UU - Unmerged(Conflict)

Note

For other Git commands, like commiting, pushing, pulling, see Git or GitSavvy.