question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Window 7 Git binary could not be found in PATH

See original GitHub issue

Screenshot of Error

problem

The Situation

This error message keeps popping up whenever I do anything with Git. I cannot commit to my repo. I messed around a lot with Git and the plugin, but nothing.

Here’s my User Settings:

{
    "git_command": "C:/Users/[Username]/AppData/Local/GitHub/PortableGit_[LOTS of numbers and letter]/bin/git.exe"
}

I’m pretty new to this plugin and to Git/Github, though I have pushed one project with the pure command line, so I am not sure what to do. I’ve seen others with this problem in OS X, but I’m not using that.

How can I fix this? What is wrong?

UPDATE: If it’s important, I’m using Sublime Text 3 Build 3047.

Issue Analytics

  • State:open
  • Created 10 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
phtscommented, Oct 6, 2013

Add “C:/Users/[Username]/AppData/Local/GitHub/PortableGit_[LOTS of numbers and letter]/bin/” folder to your PATH variable (Control Panel -> System -> Advanced system settings -> Environment Variables)

0reactions
tomtonycommented, Jul 29, 2017

{ ,“git_command”: true } that’s ok.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm ERR! No git binary found in $PATH - Stack Overflow
You are trying within C:\WINDOWS\system32 , probably git executable is available over there. Change the directory to C:\ and then try git ......
Read more >
Documentation – TortoiseGit – Windows Shell Interface to Git
1) Select the [CYGWIN-INSTALL-PATH]\bin -folder as git.exe folder. 2) Configure the HOME environment variable in Windows, so that Cygwin and TortoiseGit are ...
Read more >
Installing - CMake
In order to build CMake from a source tree on Windows, you must first install the latest binary version of CMake because it...
Read more >
Git binary could not be found in PATH - Sublime Forum
Go to Preferences > Browse Packages … · In the directory Git, open the file Git.sublime-settings · Find git_command and set the path...
Read more >
Downloads - Git SCM
Git via Git. If you already have Git installed, you can get the latest development version via Git itself: git clone https://github.com/git/git.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found