On Jun 24, 2013 8:20 AM, "Konstantin Khomoutov" <
> On Mon, 24 Jun 2013 08:08:49 -0700
> PJ Weisberg <pjweisb...@gmail.com> wrote:
> > Are you trying to run git commands inside an ftp client, rather than
> > in a shell?
> > Try "!git apply example.patch". Not just for Git, but for any
> > commands you want to run on the remote machine.
> Sorry, but what is this supposed to mean? In a typical interactive
> Unix shell that `!' would re-execute the last command which name
> begins with the string "git". Did you mean FTP client then? But since
> when FTP started to support remote command execution?
> The `sftp` program of the OpenSSH suite supports `!' prefix as a way to
> pass commands to a local shell rather than interpreting them, but the
> OP did not talk about SFTP but rather about FTP, and in any case it's
> a local shell which gets executed, not remote.
Yeah, I remembered that immediately after I posted. That function always
seemed odd to me--why would I log into a remote machine and run local
commands?--so I often forget that it works that way.
And "I'm trying to use an ftp client as if it were a remote shell" is the
only interpretation of the OP's situation that made sense to me. I didn't
watch the video, though. ;-)
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.