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 3K
  • Win 0
  • Mac 2K
  • Linux 2K
Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15
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 1 0 2 0 1 1 0 0 0 1 1 3 2 2 1 1 2 2 1 2 1 0 0 0 1 1 2 0 3 0 2 0 3 1 1 1 0 1 2 1 2 2 1 1 0 1
Linux 0 1 0 0 1 0 1 0 0 2 0 2 0 2 1 0 2 3 1 4 1 1 0 0 0 0 0 1 0 2 0 1 1 3 1 1 0 1 0 0 1 1 1 1 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.

Configuration

You can turn on highlight file names in git status view by setting "highlight_file_names": true in Preferences > Package Settings > GitDiffView > Settings.

highlight_file_names: true

Fancy theme

highlight_file_names: false

Default theme