git - How to deploy different subsets of a repo -


i have project many plugins , keep them in 1 git repository, because consist of 1 file each:

plugins +-- +-- b +-- c +-- d +-- e 

i want deploy software different production systems , of them should different combinations of plugins. let's say, a, b, d, c, e , b, c, d. if change plugin upstream, want update easy possible on production systems. there .gitignore file "do not check files out!"? or how can without creating own git repository each file?

it seem easier isolate deployment mechanism in script able deploy right script right environment.

if keep using git on production (which isn't ideal), same script activated automatically on checkout each plugin, , determine (again dependent on deployment environment somehow detects) copy file or not.

this called content filter driver, not prevent files appear in <yourgitrepo/plugins>: deployment environment should expect find plugin in other place (other git repo itself), in order give chance script (activated automatically on git repo checkout) copy relevant plugins.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -