Vscode: VISUAL STUDIO CODE fails to detect installed GIT and integrate it with the app.

Created on 15 Sep 2016  Â·  7Comments  Â·  Source: microsoft/vscode

Information Displayed:
_It looks like git is not installed on your system. You can either install it with Chocolatey or download it from fit-scm.com. Once git is installed, please restart Visual Studio Code_
While I have:
git-gui version 0.20.GITGUI
git version 2.7.2.windows.1
Tcl/Tk version 8.6.4

installed in my machine.

How can I integrate it with Visual Studio Code?

  • VSCode Version: Code 1.3.1 (e6b4afa53e9c0f54edef1673de9001e9f0f547ae, 2016-07-12T13:35:06.227Z)
  • OS Version: Windows_NT ia32 6.1.7601
needs more info

Most helpful comment

This same message has been seen on OSX 10.11.6 after doing the Xcode update and before accepting the EULA. In this situation, git command line tools will tell you as much.

All 7 comments

Where is your git installed? Is it in the PATH?

I ran into this same issue on my OS X El Capitan system. In my OS X Terminal, which git returns /usr/bin/git. In Visual Studio Code's user settings I set the "git.path" to that value and it solved the issue for me, but that seems like a workaround for a VS Code bug.

This same message has been seen on OSX 10.11.6 after doing the Xcode update and before accepting the EULA. In this situation, git command line tools will tell you as much.

In my case I indeed had updated to the latest Xcode, but I believe I had already accepted the EULA.

On Sep 16, 2016, at 8:41 AM, Andrew [email protected] wrote:

This same message has been seen on OSX 10.11.6 after doing the Xcode update and before accepting the EULA. In this situation, git command line tools will tell you as much.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode/issues/12069#issuecomment-247633870, or mute the thread https://github.com/notifications/unsubscribe-auth/AAViPvecTBZdvXSJZe1ox3cjYIujrW5fks5qqriigaJpZM4J9sUE.

@dgileadi Is that a belief or are you sure?

I can't be sure.

On Sep 19, 2016, at 1:37 AM, João Moreno [email protected] wrote:

@dgileadi Is that a belief or are you sure?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The issue was resolved after doing following things:

  • Specified git.exe installation location from the setting.json
  • Restarted VSCode and I saw "Create New Repository on the VSCode Sidebar.
    Cheers :)
    :+1:
Was this page helpful?
0 / 5 - 0 ratings

Related issues

DovydasNavickas picture DovydasNavickas  Â·  3Comments

NikosEfthias picture NikosEfthias  Â·  3Comments

philipgiuliani picture philipgiuliani  Â·  3Comments

sirius1024 picture sirius1024  Â·  3Comments

biij5698 picture biij5698  Â·  3Comments