Skip to content

Instantly share code, notes, and snippets.

@h3h
Last active December 20, 2015 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h3h/8a80927861adf8d33cb6 to your computer and use it in GitHub Desktop.
Save h3h/8a80927861adf8d33cb6 to your computer and use it in GitHub Desktop.
Preventing OS X’s aggressive git shim prompt when you don’t have Xcode installed.
{
// Custom path to git binary when not in PATH
"git_binary": "/usr/local/bin/git"
}
// cat ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/SublimeGit.sublime-settings
{
"git_executables": {
// Point the git executable at Homebrew's installed version.
"git": ["/usr/local/bin/git"],
},
// Turning off these extensions because I don't use them.
// If you do, you can just point to their executables above like I did for git.
"git_extensions": {
"git_flow": false,
"legit": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment