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 983
  • Win 0
  • OS X 484
  • Linux 499
May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11
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 0 4 6 8 6 3 0 0 2 2 1 2 1 1 0 4 0 1 3 1 0 0 0 3 0 2 0 0 1 3 1 0 2 2 4 1 2 0 1 5 5 0 0 2 2
Linux 0 1 4 2 3 2 4 1 0 2 5 2 2 6 2 0 1 2 3 2 0 1 0 2 1 0 2 2 0 2 3 3 1 6 1 0 0 3 4 1 3 5 1 1 1 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 are marked with “■”, unstaged 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.