git-deploy-php icon indicating copy to clipboard operation
git-deploy-php copied to clipboard

Ignore directories

Open GesJeremie opened this issue 10 years ago • 6 comments

We can ignore files, but is it possible to ignore directories ? :)

GesJeremie avatar Nov 21 '14 22:11 GesJeremie

Hi @GesJeremie, it is possible to ignore directories indeed, I think; you can see it in issue #26, where @spescina suggested adding /* to fix the problem. Can you let me know if that works for you?

pocketarc avatar Nov 22 '14 11:11 pocketarc

I will try for my next project, but sounds logical. You can close the issue ;)

GesJeremie avatar Nov 22 '14 13:11 GesJeremie

I will leave it open, if you don't mind, and wait for you to confirm that it's working well. :smile:

pocketarc avatar Nov 22 '14 17:11 pocketarc

I'm deploying an another project, I added this line ignore_files[] = template/*, to ignore everything into the folder template, when I run the deploy, the entire folder is uploaded ...

GesJeremie avatar Dec 30 '14 01:12 GesJeremie

@GesJeremie An ignore_directories option has been added by @maskas. Go use it and then thank him. :wink:

pocketarc avatar Jan 14 '15 21:01 pocketarc

please update the website documentation accordingly

ayalon avatar Jan 22 '15 08:01 ayalon