jxp
August 30, 2024, 8:34am
1
Hi,
The Source Control tab always says that I need to install Git or provide its path:
However, Git is correctly installed on my machine, and the path is set correctly. Here is my settings.json:
{
"php.validate.executablePath": "/opt/homebrew/etc/php/8.2",
"editor.multiCursorModifier": "ctrlCmd",
"autoalign.moveableItems": [
"=>",
"=",
":",
"+=",
"-="
],
"git.path": "/opt/homebrew/bin/git"
}
And which git
in the terminal gives me: /opt/homebrew/bin/git
I have no issues using Git in VS Code, Tower, Terminal… Which leads me to believe the problem is specific to Cursor.
Any help would be greatly appreciated!
Thank you in advance.
cjlryan
September 17, 2024, 3:52pm
2
Also happening to me. It seems like quite a few people are dealing with various source control/git issues.
@jxp did you have any luck with this?
jxp
September 17, 2024, 4:07pm
3
Unfortunately, I still have this issue
c_c
September 27, 2024, 1:21pm
4
Same issue -
New install on MacOS 15.0
App was installed via another user account initially not sure if that matters
Settings updated in Cursor to point to system git /usr/bin/git
with no change in status
Edit - tried reinstalling as current user, no change
I solved this on my machine by granting “Full Disk Access” to the Cursor app. It’s under “Privacy & Security” in the MacOS settings. It probably can’t execute anything in “/opt/homebrew” otherwise.
1 Like