[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

[git-users] Re: git hook is invoked once too much..

2013-06-24 Thread Gabby Romano
solved...:-) I had 2 executables under the hooks directory. not sure how git behaves at this situation but removing the wrong one solved the issue. On Sunday, June 23, 2013 11:59:46 AM UTC+3, Gabby Romano wrote: Hi All, I wonder if anyone ran into this issue or it's just me here doing