GitSavvy
Full git and GitHub integration with Sublime Text 3.
Details
Installs
- Total 73K
- Win 33K
- Mac 24K
- Linux 16K
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 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 4 | 6 | 3 | 2 | 1 | 6 | 3 | 8 | 1 | 8 | 1 | 1 | 3 | 6 | 9 | 11 | 0 | 2 | 4 | 6 | 10 | 10 | 4 | 4 | 7 | 4 | 3 | 9 | 9 | 7 | 2 | 2 | 7 | 2 | 8 | 6 | 14 | 8 | 3 | 4 | 6 | 7 | 7 | 3 | 0 | 2 |
Mac | 1 | 2 | 3 | 2 | 1 | 1 | 4 | 3 | 4 | 2 | 1 | 0 | 4 | 4 | 3 | 4 | 5 | 8 | 1 | 3 | 4 | 3 | 2 | 4 | 4 | 1 | 5 | 1 | 3 | 4 | 3 | 3 | 2 | 4 | 4 | 3 | 8 | 3 | 1 | 3 | 2 | 5 | 2 | 5 | 4 | 3 |
Linux | 2 | 1 | 4 | 1 | 1 | 0 | 8 | 4 | 3 | 0 | 0 | 1 | 3 | 5 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 4 | 5 | 5 | 1 | 0 | 1 | 4 | 3 | 2 | 4 | 1 | 0 | 3 | 4 | 1 | 6 | 0 | 2 | 0 | 1 | 2 | 0 | 3 | 3 | 0 |
Readme
- Source
- raw.githubusercontent.com
GitSavvy
Sublime Text 3 plugin providing the following features:
- basic Git functionality;
init
,add
,commit
,amend
,checkout
,pull
,push
, etc. - inline diff viewing, including quick navigation between modified hunks and the ability to (un)stage files by hunk or by line (respectfully stolen from SourceTree, GitX, et al)
- GitHub integration
- issue/collaborator referencing when committing
- opening the current file on GitHub at the selected line
- GitHub-style blame view, showing hunk metadata and ability to view the commit that made the change
git diff
view, allowing user to (un)stage hunks across all files- status, branch, tag, and rebase dashboards
Note: GitSavvy requires Git versions at or greater than 2.18.0.
Note: Sublime Text 2 is not supported. Also, GitSavvy takes advantage of certain features of ST3 that have bugs in earlier ST3 releases. For the best experience, use the latest ST3 dev build.
Documentation
Feature documentation can be found here. It can also be accessed from within Sublime by opening the command palette and typing GitSavvy: help
.
Highlights
Inline-diff | Status dashboard |
---|---|
![]() |
![]() |
(Un)stage and revert individual lines and hunks. | Display and overview and offer actions to manipulate your project state. |
Branch dashboard | Tags dashboard |
---|---|
![]() |
![]() |
View and manipulate local and remote branches. | View and manipulate local and remote tags. |
Github integration | Rebase dashboard |
---|---|
![]() |
![]() |
Reference issues and collaborators in commits. Open files on GitHub in the browser, with lines pre-selected. | Squash, edit, move, rebase, undo, redo. |
Installation
Simple
- Install the Sublime Text Package Control plugin if you don't have it already.
- Open the command palette and start typing
Package Control: Install Package
. - Enter
GitSavvy
.
Note: If you're using 64-bit Windows, the path to the Git binary may not be as you expect. If GitSavvy fails to operate correctly in this configuration, make sure to confirm the Git path you're using in the config.
Less simple
If you want more control over what you pull down, or if you'd like to submit changes to GitSavvy, you should pull down the repository directly and restart the editor.
# on a Mac
cd "$HOME/Library/Application Support/Sublime Text 3/Packages"
# on Linux
cd $HOME/.config/sublime-text-3/Packages
# on Windows (PowerShell)
cd "$env:appdata\Sublime Text 3\Packages\"
git clone https://github.com/timbrel/GitSavvy.git
# Package Control need to be installed https://packagecontrol.io/installation
# install dependencies from command line
subl --command 'satisfy_dependencies'
# or open Command Palette and run 'Package Control: Satisfy Dependencies'