{"id":3313,"date":"2014-07-22T20:34:25","date_gmt":"2014-07-22T20:34:25","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/?p=3313"},"modified":"2014-07-22T20:34:25","modified_gmt":"2014-07-22T20:34:25","slug":"solved-sublime-text-2-git-binary-could-not-be-found-in-path","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/solved-sublime-text-2-git-binary-could-not-be-found-in-path\/","title":{"rendered":"[SOLVED] Sublime Text 2: Git binary could not be found in PATH"},"content":{"rendered":"<p>Got this annoying dialog popping up on Sublime Text 2?<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.31.03-PM.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3316\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.31.03-PM.png?resize=420%2C213\" alt=\"Screen Shot 2014-07-22 at 4.31.03 PM\" width=\"420\" height=\"213\" \/><\/a><\/p>\n<p>Go to Preferences &gt; Browse Packages &#8230;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.33.02-PM.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3317\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.33.02-PM.png?resize=479%2C129\" alt=\"Screen Shot 2014-07-22 at 4.33.02 PM\" width=\"479\" height=\"129\" \/><\/p>\n<p><\/a><\/p>\n<p>a Finder window will open, go to the &#8220;Git&#8221; folder, open the file called &#8220;Git.sublime-settings&#8221;<\/p>\n<p>Look for &#8220;git_command&#8221; and set it&#8217;s value to the path of your git executable<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.31.47-PM.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3318\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.31.47-PM.png?resize=640%2C364\" alt=\"Screen Shot 2014-07-22 at 4.31.47 PM\" width=\"640\" height=\"364\" \/><\/a><\/p>\n<p>(you can find the path of your git executable on the Terminal by typing &#8220;which git&#8221;)<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.35.24-PM.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3319\" src=\"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-22-at-4.35.24-PM.png?resize=455%2C85\" alt=\"Screen Shot 2014-07-22 at 4.35.24 PM\" width=\"455\" height=\"85\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Got this annoying dialog popping up on Sublime Text 2? Go to Preferences &gt; Browse Packages &#8230; a Finder window will open, go to the &#8220;Git&#8221; folder, open the file called &#8220;Git.sublime-settings&#8221; Look for &#8220;git_command&#8221; and set it&#8217;s value to the path of your git executable (you can find the path of your git executable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[15],"tags":[484,1408,1000,1369],"class_list":["post-3313","post","type-post","status-publish","format-standard","hentry","category-code","tag-git","tag-sublime-text2","tag-tips","tag-troubleshooting"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-Rr","jetpack-related-posts":[{"id":3055,"url":"https:\/\/www.gubatron.com\/blog\/my-git-cheat-sheet\/","url_meta":{"origin":3313,"position":0},"title":"My Git Cheat-sheet","author":"gubatron","date":"May 28, 2013","format":false,"excerpt":"I don't know if it's the crazy syntax, but for the life of me, I always need to come back to this cheat sheet, maybe you will too: GIT CHEATSHEET fetch remote branch. git fetch origin nameofbranch \"fetch\" downloads the changes of the remote branch but doesn't automatically merge them.\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2013\/05\/Screen-Shot-2016-01-02-at-4.40.11-PM.png?fit=1200%2C696&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2013\/05\/Screen-Shot-2016-01-02-at-4.40.11-PM.png?fit=1200%2C696&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2013\/05\/Screen-Shot-2016-01-02-at-4.40.11-PM.png?fit=1200%2C696&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2013\/05\/Screen-Shot-2016-01-02-at-4.40.11-PM.png?fit=1200%2C696&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2013\/05\/Screen-Shot-2016-01-02-at-4.40.11-PM.png?fit=1200%2C696&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3646,"url":"https:\/\/www.gubatron.com\/blog\/git-how-to-replace-your-master-branch-with-another-branch\/","url_meta":{"origin":3313,"position":1},"title":"[GIT] How to replace the master branch with another branch.","author":"gubatron","date":"January 3, 2017","format":false,"excerpt":"TL;DR; git checkout master git reset --hard fixed-master-branch git push origin master -f Sometimes someone may pollute the 'master' branch and you may have noticed this only after you've fetched, rebased and pushed your commits. So your history may end up like this (I'll use decimal numbers on the commit\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3150,"url":"https:\/\/www.gubatron.com\/blog\/how-to-add-an-existing-git-repository-to-github\/","url_meta":{"origin":3313,"position":2},"title":"How to add an existing GIT repository to github.","author":"gubatron","date":"August 31, 2013","format":false,"excerpt":"Most of the times, it makes more sense to start working on something that slowly transforms into the beginning of a project that deserves to be on github. This post is about creating a local repository and putting it on github. 1. First we must convert the main local folder\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4122,"url":"https:\/\/www.gubatron.com\/blog\/screw-configuring-gpg-to-sign-git-commits-do-it-with-your-same-ssh-key-like-this\/","url_meta":{"origin":3313,"position":3},"title":"Screw configuring GPG to sign git commits, do it with your same SSH key like this","author":"gubatron","date":"January 30, 2025","format":false,"excerpt":"GPG gives a lot of shit on macos for some reason. It's best to just add the same SSH authentication key you have on github as a \"Signing Key\" in your github account signing configuration. Go to Settings > SSH and GPG Keys You can then configure your github client\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/01\/ssh_sign.jpg?fit=736%2C441&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/01\/ssh_sign.jpg?fit=736%2C441&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/01\/ssh_sign.jpg?fit=736%2C441&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/01\/ssh_sign.jpg?fit=736%2C441&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":651,"url":"https:\/\/www.gubatron.com\/blog\/video-linus-habla-sobre-git-su-subversion-distribuido\/","url_meta":{"origin":3313,"position":4},"title":"VIDEO: Linus habla sobre GIT, su &#8220;subversion&#8221; distribuido","author":"gubatron","date":"February 2, 2008","format":false,"excerpt":"Aqui hay un Google talk por el mismisimo Linus, quien habla sobre su nuevo sistema de control de versiones distribuido. El cual promete se mas rapido, distribuido, y ocupar menos espacio. Algunos claman que pudiera utilizarse como un sistema de archivos distribuidos que nos permitira crear sistemas que antes eran\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":653,"url":"https:\/\/www.gubatron.com\/blog\/twitts-in-a-nutshell-for-2008-02-05\/","url_meta":{"origin":3313,"position":5},"title":"Twitts in a Nutshell for 2008-02-05","author":"gubatron","date":"February 5, 2008","format":false,"excerpt":"learning git version control, this shit rocks # big day for america today, wish I could vote # So why do I need to buy gifts for Valentine's? didn't we do that shit already last year? Effing bullshit commercial holidays, xmas is enough # funny how google is scared trying\u2026","rel":"","context":"In &quot;Twitter&quot;","block_context":{"text":"Twitter","link":"https:\/\/www.gubatron.com\/blog\/category\/twitter\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/3313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=3313"}],"version-history":[{"count":2,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/3313\/revisions"}],"predecessor-version":[{"id":3320,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/3313\/revisions\/3320"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=3313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=3313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=3313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}