'Is it possible to use VScode as a remote editor for git?
The setup is the following:
A windows machine with VS code installed.
A Linux machine where the code is.
I connect with the VS code to the Linux machine.
Can the git on the Linux machine use the remove VS code as an editor?
Found this link but it did not say how to do such configuration: https://github.com/microsoft/vscode-remote-release/issues/933
Also this link did not helped me: https://github.com/roiderats/vscode-remote-remote
I tried from the VS code terminal the following command:
git --mergetool -t "code --wait"
but I get the following output:
Unknown merge tool code --wait
I tried from the VS code terminal the following:
git config --global core.editor "code --wait"
Git tries to use vim as editor.
Solution 1:[1]
The normal solution would be to install Git for Windows on your Windows machine, clone the repo to the Windows machine and then edit the git repo directly on the Windows side.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dennis |
