Re: [git-users] Applying patch to Drupal module

2013-06-25 Thread Ben Alcantara
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? On Tuesday, 25 June 2013 01:32:43 UTC+10, Peter J Weisberg wrote: On Jun 24, 2013 8:20 AM, Konstantin Khomoutov flat...@users.sourceforge.net

Re: [git-users] Applying patch to Drupal module

2013-06-25 Thread Konstantin Khomoutov
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.

[git-users] Applying patch to Drupal module

2013-06-24 Thread Ben Alcantara
I'm new to using Git and I'm a little confused. I'm trying to patch a module and I've gone to terminal and gone to the folder I need to patch via FTP. I've been following this tutorial http://www.youtube.com/watch?v=i-oe7_qHreY but whenever I add the apply git command I get 'invalid command'.

Re: [git-users] Applying patch to Drupal module

2013-06-24 Thread Konstantin Khomoutov
On Mon, 24 Jun 2013 04:52:21 -0700 (PDT) Ben Alcantara ben.alcant...@gmail.com wrote: I'm new to using Git and I'm a little confused. I'm trying to patch a module and I've gone to terminal and gone to the folder I need to patch via FTP. Do I understand correctly, that you're using some FTP

Re: [git-users] Applying patch to Drupal module

2013-06-24 Thread Ben Alcantara
My bad sorry for posting a 10mins+ video. Anywho yes I'm trying to update a module folder remotely. Basically I was following a vid tutorial which eventually executed 'git apply example.patch' but I just get 'invalid command'. Is this because you can only patch Drupal modules locally? On

Re: [git-users] Applying patch to Drupal module

2013-06-24 Thread PJ Weisberg
On Jun 24, 2013 8:08 AM, PJ Weisberg pjweisb...@gmail.com wrote: Try !git apply example.patch. Not just for Git, but for any commands you want to run on the remote machine. Oops, I remembered that wrong. That's the syntax for running a local command without exiting the ftp client. If you

Re: [git-users] Applying patch to Drupal module

2013-06-24 Thread 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

Re: [git-users] Applying patch to Drupal module

2013-06-24 Thread PJ Weisberg
On Jun 24, 2013 8:20 AM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: 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