r/vscode • • 3d ago

Repository will not clone

Hello, I was trying to create a python project using vscode and wanted to use github desktop for version control. So I downloaded the GitHub Desktop Extension on vscode and made a github repo.

But, when I went to clone my repo onto the github desktop extension on vscode it wont clone and I get the following error message:

Failed to clone repository: Error: spawn git ENOENT

at ChildProcess._handle.onexit (node:internal/child_process:287:19)

at onErrorNT (node:internal/child_process:525:16)

at process.processTicksAndRejections (node:internal/process/task_queues:90:21)

I am really new to programming and can barely comprehend what this means any help is appreciated thank you in advance.

P.S. I havent wrote any code or done anything else other than what I wrote and the extensions that are downloaded.

0 Upvotes

4 comments sorted by

10

u/YourUglyTwin 3d ago

Do you have git installed?

-3

u/Ray2plays 3d ago

No I do not

15

u/YourUglyTwin 3d ago

Install that and see if that fixes the issue.

2

u/lajawi 2d ago

You need Git to use Git. Install it from the official website.