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

Git​Diff​View

by predragnikolic ST3 MacLinux

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

Labels git, diff

Details

Installs

  • Total 2K
  • Win 0
  • Mac 908
  • Linux 918
Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 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
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
Mac 0 0 0 1 0 3 1 3 7 0 0 1 0 2 1 0 0 1 3 5 2 1 1 1 0 1 2 1 2 1 0 0 0 5 1 1 3 0 0 0 1 3 1 0 0 0
Linux 0 2 1 0 1 1 0 1 2 1 3 5 1 1 2 3 0 2 3 3 2 2 4 0 0 0 2 2 4 3 2 0 2 2 2 3 0 1 0 1 4 3 3 2 0 1

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.