microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.67k stars 291 forks source link

remote-ssh: How to install the builtin extension Git on remote ssh server? #10306

Closed playsand closed 1 month ago

playsand commented 1 month ago

image

Version: 1.93.1 (Universal)
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0
bamurtaugh commented 1 month ago

Thanks for sharing this. Are you connected to your remote machine when you see this?

As a built-in extension, the Git extension should "just work" on your remote, no special install or setup required. Here's an example of how it looks when I'm connected to a remote:

Image

playsand commented 1 month ago

Thank your reply. I'm sure I'm connected to the remote machine. Here is my screenshot. image image

playsand commented 1 month ago

Thanks again for your reply. I just solved the problem by deleting the .vscode-server folder on the remote machine and reconnecting to it. This issue might have been caused by the fact that I recently switched computers, with the CPU changing from Intel to an M3 processor.