Skip to content

Some git commands use the terminal and require git to be in the windows PATH variable #1767

@SuperflyJon

Description

@SuperflyJon
  • GitLens Version:
  • Git Version: 2.34.1.windows.1
  • VSCode Version: Run 1.63.2
  • OS Version: Windows 10

Steps to Reproduce:

  1. Don't have git.exe in the PATH environment variables
  2. An example command that fails is delete branch from the "branches" tab:
    git branch --delete Testing
    git: The term 'git' is not recognized as a name of a cmdlet, function, script file, or executable program.
  3. If I instead do the git: delete branch command then the branch is deleted

So it looks like some of the git lens functionality is implemented by entering git commands in the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds to be looked at

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions