GitDiffView
A Sublime Text plugin that lets you see all modified files and preview their changes.
Details
Installs
- Total 4K
- Win 0
- Mac 2K
- Linux 2K
Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 2 | 1 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 3 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 3 | 1 | 0 | 2 |
Linux | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 |
Readme
- Source
- raw.githubusercontent.com
Git Diff View
Get a quick overview of changes before committing them.
Features
- Show modified files (AKA “Status View”)
- View diff for a file. (AKA “Diff View”)
- Stage/Unstage files/hunks
- Discard changes to files/hunks
- Goto a file
Getting Started
Open the command palette and run Package Control: Install Package
, then select GitDiffView
.
Toggle the git diff view with ctrl+shift+g
(Linux) or alt+shift+g
(Mac) or via the command palette by selecting: Git Diff View: Toggle
.
The git diff view won't open if there are no git changes.
Keybindings in Status View (the right view)
- a / space - stage/unstage file
- d / backspace - dismiss file changes
- g - open file
Keybindings in Diff View (the left view)
- a / space - stage/unstage hunk
- d / backspace - dismiss hunk change
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
"AM" - Added and Staged
" M" - Modified
"MM" - Modified and Staged
" D" - Deleted
" R" - Renamed
" C" - Copied
"UU" - Unmerged(Conflict)
Workflow Example
NOTE: For other commands like
git commit
,git push
,git pull
, use a different plugin like Git or GitSavvy.