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

Tortoise​Git Context Integration

by ses4j Win ST2/ST3

TortoiseGit Plugin for Sublime Text 2/3

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

TortoiseGit Context Integration

A TortoiseGit Plugin for Sublime Text
…because who has time to Open Containing Folder... and THEN use TortoiseGit?

A simple plugin to expose the best of the TortoiseGit GUI to the Sublime Text 2 or Sublime Text 3 context menu.

Adds the following to the context menu for an active file:

  • Diff
  • Show log
  • Check for modifications
  • Blame
  • Commit…
  • Commit (repo)…
  • Sync (repo)…

Adds the following to the context menu in the side bar:

  • Diff
  • Show log
  • Check for modifications
  • Blame
  • Commit…
  • Sync…

If there is no active file, it tries to guess the “relevant” repository by looking at the project file or the first open folder. In the side bar, it runs the command for the selected directory or file.

Installation

Please be sure you have installed the prerequisites before expecting this to work:

  • Sublime Text 2/3
  • TortoiseGit

You can install using Package Control, or manually install it. Instructions for both follow.

Using Package Control

In Sublime Text's menu, choose: Preferences > Package Control: Install Package

Then just type in TortoiseGit Context Integration, click it, and away you go!

Manually Install

If you don't use Package Control, you can do the following:

  1. Go to folder Packages: It can be found at %APPDATA%\Sublime Text 3\Packages. Also, clicking Preferences/Browse Packages... in Sublime Text will open the right directory.
  2. In that directory, run git clone git@github.com:ses4j/tgit-st3.git.

Configuration

If your TortoiseGitProc.exe is not installed in C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe (the normal place) AND if it's not in your PATH, you may need to configure the plugin settings.

Thanks

Thanks to the authors and contributors of the following repositories, from whom I got useful direction: