On Tue, 25 Jun 2013 06:10:11 -0700 (PDT)
Ben Alcantara <ben.alcant...@gmail.com> wrote:
> I'm using terminal but i've gone to the directory via the ftp
> command. How would I apply this patch via SSH, is it similar commands
> like FTP?
OK, I'm glad you decided to answer at least some of my questions.
No, FTP is not just a continuation of your shell -- while the interface
of a typical stock FTP client resembles that of the shell, it's not the
shell, and in particular FTP does not support execution of commands.
You basically have two options:
1) Install Git on the server. Log into the server using SSH and hence
get a *real* shell on the server. Then you'll be able to execute any
commands on the server (since you'll have a shell there).
This options obviously requires SSH access to the server.
And an administrator to install Git in it.
2) Somehow export a directory containing your repository either using
a networking filesystem (NFS, SMB/CIFS or whatever) then mount it
locally and work with the mounted directory using a local Git
If your local system is Linux-based you can mount a directory
containing your Git repository onto your local system using
SSHFS . An upside of this is that it only requires SSH on the
Another, different, approach is to quit using Git on the server either
way and only perform deployment of a code which is ready to be deployed.
I mean, no fixups or Drupal module patching or whatnot is ever performed
directly on the server -- everything is done on a developer/sandbox
workstation, committed and then deployed on the server using a tool
like git-ftp  or rsync.
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.