A little help (should be pretty basic)

A little help (should be pretty basic)

von gelöscht -
Anzahl Antworten: 3

HEllo, Everyone. 

Just now i could begin watching the classes. I'm real new to programing, so i'm having a problem that might be real simple to solve. 

I'm still on the hands on part of the kick off meeting videos, when the professor asks you to tipe: git: clone. My visual studio simply says "no matching commands". So i tried the other commands and when i tried "Show git output" the output window says Gint instalation not found

And now i dont know what to do. 

I did create my account on Git hub and the testgit repository, and i also downloaded the git hup app, but i keep seeng this message. 

Can anyone help me with this?

Thank you, 
Rodolfo

Als Antwort auf gelöscht

Re: A little help (should be pretty basic)

von Antonello Lobianco -
Hello, sorry it isn't in the videos, you need to install the git client for Windows from here: https://git-scm.com/download/win
When you install it, be sure you select all the options relative to adding git to the path and using VSCode.
Then restart VSCode, it should find it.
Als Antwort auf Antonello Lobianco

Re: A little help (should be pretty basic)

von gelöscht -
This seems to have worked. Thank you.
Als Antwort auf gelöscht

Re: A little help (should be pretty basic)

von Alexandre Guernut -

Hello,

I have no Windows machine within reach to test what I will describe. For what I recall from the several time I made this installation, you have to choose the correct options during the installation of Git in order to make it work directly. Otherwise, you probably need to find a way to specify to VSCode where Git.exe is installed.

What you can try:

- Assuming the "github app" you installed is Git for Windows (https://gitforwindows.org/), I think the installer asks you to choose a default text editor (which is set to Vim by default if I recall correctly).

- By running the installer again, you should be able to change this to Microsoft Visual Studio Code and hopefully it should be able to interact with Git after restarting ii

If this doesn't work, you might want to try something like this: https://stackoverflow.com/questions/29971624/visual-studio-code-cannot-detect-installed-git

For you, from the screenshot you posted, it should go along this:

Visual Studio Code settings (File -> Preferences -> Settings)

{
    // Is git enabled
    "git.enabled": true,

    // Path to the git executable
    "git.path": "C:\\Program Files\Git\cmd\git.exe"

    // other settings
}
I hope I was clear enough for you to follow and that it will help you

Alexandre