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

Git​Savvy

by divmain ST3

Full git and GitHub integration with Sublime Text 3.

Details

Installs

  • Total 25K
  • Win 9K
  • OS X 10K
  • Linux 6K
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 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11
Windows 13 21 23 17 19 20 18 26 26 26 16 26 21 12 23 27 22 10 19 26 16 13 15 17 27 12 15 16 31 17 13 15 23 17 19 15 25 19 21 9 11 13 14 15 29 12
OS X 16 27 10 21 19 10 13 17 14 16 16 20 10 10 8 22 18 20 20 7 13 15 12 14 21 20 16 16 33 21 12 23 18 14 13 22 13 15 20 12 7 9 16 15 17 13
Linux 8 10 6 14 14 7 5 11 8 12 10 7 1 6 4 10 11 9 16 4 7 7 14 15 16 9 11 4 17 16 13 7 8 3 7 12 9 9 12 8 3 3 7 11 13 11

Readme

Source
raw.​githubusercontent.​com

GitSavvy

Build Status AppVeyor branch Coverage Status Codacy Badge LicenseGitter

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: Due to a bug present in earlier Git versions, GitSavvy only supports Git versions at or greater than 1.7.10.3.

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

  1. Install the Sublime Text Package Control plugin if you don't have it already.
  2. Open the command palette and start typing Package Control: Install Package.
  3. 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 git@github.com:divmain/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'