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

Git​Savvy

by timbrel ALL

Full git and GitHub integration with Sublime Text

Details

  • 2.40.0
    2.39.1
    2.39.0
  • github.​com
  • github.​com
  • 4 months ago
  • 4 minutes ago
  • 8 years ago

Installs

  • Total 76K
  • Win 35K
  • Mac 25K
  • Linux 17K
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 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
Windows 1 1 7 6 1 5 3 3 0 2 0 4 3 1 2 1 3 2 8 2 3 11 1 4 11 2 2 5 3 4 6 4 3 5 2 2 5 6 0 4 4 2 6 0 3 11
Mac 1 1 1 1 0 3 0 0 1 3 4 2 1 1 1 3 3 4 1 5 2 3 1 2 4 2 3 1 3 3 4 2 0 2 1 1 2 1 4 3 3 8 2 2 4 9
Linux 3 2 2 3 2 5 0 0 1 3 4 2 2 3 4 2 1 0 2 2 3 0 3 6 2 3 3 6 1 3 2 20 3 1 3 1 2 2 2 2 2 2 4 1 1 2

Readme

Source
raw.​githubusercontent.​com

GitSavvy

tests License

Sublime Text plugin providing probably all git has to offer:

  • basic Git functionality; init, add, commit, amend, checkout, pull, push, etc.
  • special views for status, branches, and tags. Try git: status
  • a superb “Repo History”, like gitk, just with more features; try git: Repo History.
  • Rebasing just from that “Repo History”. Edit a commit, reword a commit, autosquash commits, apply a fixup, whatever… the [r] menu
  • a “Line History”, just select something in a view and search the Command Palette for git: Line History
  • likewise a “File History”
  • git diff view, allowing user to stage, unstage and reset (discard) files, hunks or individual lines
  • fixup/squash helpers everywhere, for example from the “Line History”
  • GitHub integration

    • issue/collaborator referencing when committing
    • opening the current file or a commit on GitHub at the selected line
    • make a new PR from the current branch
  • GitHub-style blame view, showing hunk metadata and ability to view the commit that made the change

Note: GitSavvy requires Git versions at or greater than 2.18.0.

Note: Sublime Text 2 is not supported. Also, GitSavvy takes advantage of modern features of Sublime Text (like annotations). For the best experience, use the latest Sublime Text dev build. Or not, I mean it could also crash you, what am I to recommend here.

Documentation

The documentation is probably outdated. Yeah it's sad but you can contribute and I will eventually get onto it but every special view has help available, just press ?.

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.

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 in the Packages folder and restart the editor. You still have to run Package Control: Satisfy Dependencies after that!