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
May 31 | May 30 | May 29 | May 28 | May 27 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
Mac | 0 | 0 | 1 | 0 | 2 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
Linux | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 2 | 0 | 1 | 2 | 1 | 1 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
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.