I have this error when I start emacs:
File error: Searching for program, no such file or directory, git
My Git is inside the VM in
How can I point emacs to it?
plink to communicate the VM and emacs.
I tried leaving in the
(add-to-list 'exec-path "/plink:email@example.com:/usr/bin/")
But it didn't help.
I also tried to install Git into windows but then when I visit Git repositories in the VM, Git from windows doesn't have access to the remote FS. Specifically, I press
M-x magit, and emacs says:
Git repository:<path to where I am>
Then I press
Then it says:
Create repository in /plink:firstname.lastname@example.org:<path to where I am>
Whether I press Y or N, it doesn't help me.
Does anyone have any suggestions? How do I configure Magit to use the git binary on the remote machine?