Coder Social home page Coder Social logo

Git Graph Unable to load Git Graph. Either the current workspace is not a Git Repository, or the Git executable could not found. about vscode-git-graph HOT 12 CLOSED

SmUrF3R5 avatar SmUrF3R5 commented on May 18, 2024 1
Git Graph Unable to load Git Graph. Either the current workspace is not a Git Repository, or the Git executable could not found.

from vscode-git-graph.

Comments (12)

GeorgeWells avatar GeorgeWells commented on May 18, 2024 1

I just experienced this issue and it was because git.path wasn't set in settings.json.

from vscode-git-graph.

mhutchie avatar mhutchie commented on May 18, 2024 1

@avirupdutta git.path should be C:\Program Files\Git\bin\git.exe for you, not C:\Program Files\Git\bin\bash.exe.

from vscode-git-graph.

avirupdutta avatar avirupdutta commented on May 18, 2024 1

OMG it worked!!!! Thank you so so much :)
It just needed the vscode to be refreshed after I update the settings.json file

from vscode-git-graph.

mhutchie avatar mhutchie commented on May 18, 2024

Are you trying to view Git Graph in multi-root workspace? If so, is the first root folder a Git repo?

from vscode-git-graph.

oppoic avatar oppoic commented on May 18, 2024

Are you trying to view Git Graph in multi-root workspace? If so, is the first root folder a Git repo?

Git Graph just work for the first folder in vs code?how to use it in other root folder?

from vscode-git-graph.

mhutchie avatar mhutchie commented on May 18, 2024

@oppoic Multi-root workspaces will be fully support in the next release 1.4.1 (available tomorrow), as described in the issue #13. I asked this question, as it could explain the issue @SmUrF3R5 was having, as Git Graph currently only displays the first folder in a multi-root workspace.

from vscode-git-graph.

mhutchie avatar mhutchie commented on May 18, 2024

@SmUrF3R5 Multi-root support now available in 1.4.1 (which I was alluding to in my previous question). Please update to it, and report back if you are still having an issue.

from vscode-git-graph.

mhutchie avatar mhutchie commented on May 18, 2024

@SmUrF3R5 Your value for git.path doesn't include git.exe. The Visual Studio Code description of the git.path setting indicates "Path and filename of the git executable, e.g. C:\Program Files\Git\bin\git.exe (Windows).". Missing git.exe would definitely cause the behaviour you're observing.

from vscode-git-graph.

avirupdutta avatar avirupdutta commented on May 18, 2024

how did you fix it?
I have this set in my settings .json
"terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe"
"git.path": "C:\Program Files\Git\bin\bash.exe",
but it still doesn't work :(

from vscode-git-graph.

mhutchie avatar mhutchie commented on May 18, 2024

@avirupdutta git.path is the "Path and filename of the git executable". You have it referring to the bash executable bash.exe instead of the Git executable git.exe.

from vscode-git-graph.

avirupdutta avatar avirupdutta commented on May 18, 2024

from vscode-git-graph.

sjw1980 avatar sjw1980 commented on May 18, 2024

In my case. exFat file system isn't fit enough to use git graph in Windows 10.
I don't know why.

from vscode-git-graph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.