Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.