Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Remote-SSH Bug]: git is not recognized as an internal or external command (Windows 10) #8415

Closed
3 tasks done
hfmamh opened this issue Apr 27, 2023 · 1 comment
Closed
3 tasks done
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@hfmamh
Copy link

hfmamh commented Apr 27, 2023

Is there an existing issue for this bug?

  • I have searched the existing issues

Required Troubleshooting Steps

  • I have followed these troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It connects successfully

->

I'm trying to run git on vscode terminal
image

Expected Behavior

Should initialize git repo (I've already installed it on both client and server)

Steps To Reproduce

  1. Connect to remote folder on server.
  2. Open terminal
  3. run "git init"

Remote-SSH Log

Remote-SSH Log

[PASTE LOG HERE]

Anything else?

Looks like it doesnt recognize any environment variables. Documentation didn't help to solve the problem: https://code.visualstudio.com/docs/remote/ssh#_ssh-hostspecific-settings

@hfmamh hfmamh added the ssh Issue in vscode-remote SSH label Apr 27, 2023
@roblourens
Copy link
Member

git is not on your path here. That means that it is not installed, or there is an issue with your terminal configuration

@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants