I have a directory that looks like this:
ProjectFolder/
+ project_file
+ project_file_2
+ project_folder/
+ another_file
* my_stuff/ <= add to repo
* foo <= add to repo
* bar <= add to repo
* my_file <= add to repo
* my_other_file <= add to repo
ProjectFolder
is a piece of software that I did no write, nor is it a git repository. For what it's worth, it's vBulletin.
Inside the main folder, I have some project extensions/modules/etc. The location of these files is mandated by the outer project. Luckily, 95% of the files I care about stem from the ProjectFolder root. (Note the files marked with *
above)
Is there a way I can easily add the *
-marked files to a git repo?
The issue I see here is that git won't be able to distinguish my extensions from the outer project.
Extra: When updating the outer project, it would be nice to simply reclone the git repo to reinstall all the extensions in my git repo.