Skip to main content
added 13 characters in body
Source Link

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 /usr/bin/git

How can I point emacs to it?

I'm using tramp and plink to communicate the VM and emacs.

I tried leaving in the .emacs file

(add-to-list 'exec-path "/plink:[email protected]:/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, emacsGit from windows doesn't recognize it as a git repohave access to the remote FS. Specifically, I press M-x magit, and emacs says:

Git repository:<path to where I am>

Then I press enter

Then it says:

 Create repository in /plink:[email protected]:<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?

Thanks

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 /usr/bin/git

How can I point emacs to it?

I'm using tramp and plink to communicate the VM and emacs.

I tried leaving in the .emacs file

(add-to-list 'exec-path "/plink:[email protected]:/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, emacs doesn't recognize it as a git repo. Specifically, I press M-x magit, and emacs says:

Git repository:<path to where I am>

Then I press enter

Then it says:

 Create repository in /plink:[email protected]:<path to where I am>

Whether I press Y or N, it doesn't help me.

Does anyone have any suggestions?

Thanks

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 /usr/bin/git

How can I point emacs to it?

I'm using tramp and plink to communicate the VM and emacs.

I tried leaving in the .emacs file

(add-to-list 'exec-path "/plink:[email protected]:/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 enter

Then it says:

 Create repository in /plink:[email protected]:<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?

Thanks

added 350 characters in body; edited tags
Source Link

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 /usr/bin/git. How can I point Emacs to it?

How can I point emacs to it?

I'm using tramp and plink to communicate the VM and Emacsemacs. I

I tried thisleaving in mythe .emacs file:

(add-to-list 'exec-path "/plink:[email protected]:/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, emacs doesn't recognize it as a git repo. Specifically, I press M-x magit, and emacs says:

Git repository:<path to where I am>

Then I press enter

Then it says:

 Create repository in /plink:[email protected]:<path to where I am>

Whether I press Y or N, it doesn't help me.

Does anyone have any suggestions?

Thanks

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 /usr/bin/git. How can I point Emacs to it?

I'm using tramp and plink to communicate the VM and Emacs. I tried this in my .emacs file:

(add-to-list 'exec-path "/plink:[email protected]:/usr/bin/")

But it didn't help.

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 /usr/bin/git

How can I point emacs to it?

I'm using tramp and plink to communicate the VM and emacs.

I tried leaving in the .emacs file

(add-to-list 'exec-path "/plink:[email protected]:/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, emacs doesn't recognize it as a git repo. Specifically, I press M-x magit, and emacs says:

Git repository:<path to where I am>

Then I press enter

Then it says:

 Create repository in /plink:[email protected]:<path to where I am>

Whether I press Y or N, it doesn't help me.

Does anyone have any suggestions?

Thanks

clean up
Source Link
Dan
  • 33.4k
  • 7
  • 106
  • 171

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 /usr/bin/git

How can I point emacs to it?. How can I point Emacs to it?

I'm using tramp and plink to communicate the VM and emacsEmacs.

I I tried leavingthis in themy .emacs file:

(add-to-list 'exec-path "/plink:[email protected]:/usr/bin/")

But it didn't help.

Does anyone have any suggestions?

Thanks

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 /usr/bin/git

How can I point emacs to it?

I'm using tramp and plink to communicate the VM and emacs.

I tried leaving in the .emacs file

(add-to-list 'exec-path "/plink:[email protected]:/usr/bin/")

But it didn't help.

Does anyone have any suggestions?

Thanks

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 /usr/bin/git. How can I point Emacs to it?

I'm using tramp and plink to communicate the VM and Emacs. I tried this in my .emacs file:

(add-to-list 'exec-path "/plink:[email protected]:/usr/bin/")

But it didn't help.

Source Link
Loading