Possible Duplicate:
Git - Whitelisting files in a complex directory structure
I have a project called Basic PHP Framework - alpha and it have some files on root dir.
When I need to apply the FW in some project, I just need to use dirs basic (or file basic.phar), application and files index.php and .htaccess. All other files are for debug purposes.
Here start the "good thing": I want work on projects based on this FW with Git version-control, because sometimes I need do a emergency change on this files and, currently, I need EVERYTIME copy manually to project dir (/basic
) and sync. It's so annoying. The same if I need update project using git.
My idea is something like sync GIT using specific directories and ignoring all others that not interest me, on each project.
It's possible, currently?
I'm new here, and I don't know if here is the right place to post this kind of question. Feel free to move to another "stack-place".