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 33K
  • Win 13K
  • OS X 12K
  • Linux 7K
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 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10
Windows 13 20 27 24 22 18 17 33 39 23 33 30 12 16 21 50 24 39 25 15 16 29 33 44 15 29 10 17 29 25 26 23 28 16 21 26 35 33 27 26 10 15 24 26 20 40
OS X 5 17 22 16 28 9 15 15 23 27 27 21 17 10 22 17 24 23 24 10 11 16 23 13 18 12 16 7 21 15 18 27 18 6 10 15 25 11 19 25 14 12 16 20 20 21
Linux 11 14 13 22 11 10 7 11 12 9 13 18 7 6 8 21 27 19 10 8 7 20 16 19 12 11 11 5 13 19 16 20 9 8 13 12 16 15 20 14 10 10 11 15 10 12

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'