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 389
  • Win 0
  • OS X 190
  • Linux 199
Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8
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 2 1 4 4 3 4 3 0 0 0 2 1 1 2 0 4 2 3 1 1 2 0 0 3 2 0 2 0 1 0 5 3 2 3 1 2 0 4 3 9 0 3 1 0
Linux 1 5 0 2 4 4 2 2 5 1 0 0 4 4 3 1 2 1 3 1 4 0 2 0 1 2 3 2 3 0 0 3 0 4 5 2 6 1 2 3 4 3 4 7 0 2

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.