Fixing Git plugin for Sublime Text 2
Contents
After update, the ST2 started to complain about missing git command.
Finding out Git on MBP:
platform $ which git
git is /usr/bin/git
git is /usr/local/bin/git
platform $ git --version
git version 1.7.7.5 (Apple Git-26)
platform $ /usr/bin/git --version
git version 1.7.7.5 (Apple Git-26)
platform $ /usr/local/bin/git --version
git version 1.7.3.2
Fix the the Package file in /Users/miro/Library/Application Support/Sublime Text 2/Packages/Git - Git.sublime-settings (it is JSON file)
{
// save before running commands
"save_first": true
// if present, use this command instead of plain "git"
// e.g. "/Users/kemayo/bin/git" or "C:\bin\git.exe"
,"git_command": "/usr/local/bin/git"
....
Also, I had to delete the *.sublime_session
from /Users/miro/Library/Application Support/Sublime Text 2/Settings
Author Miro Adamy
LastMod 2012-09-21
License (c) 2006-2020 Miro Adamy