I have set up a GitHub repository to track a Levure based project. On the desktop the project has the full Levure folder structure in the local repository. However in the GitHub remote repository it does not contain any folders that are empty.
This works fine if I am updating the project from my desktop computer and pushing the commits to the repository but if someone else clones the repository locally they will not get the full Levure folder structure in their local repository.
According to GitFAQ: Can I add empty directorieshttps://git.wiki.kernel.org/index.php/G ... ctories.3F it says:
Stack Overflow https://stackoverflow.com/questions/115 ... 77#8944077 contains several suggestions of how to trick Git into tracking 'empty' directories.If you really need a directory to exist in checkouts you should create a file in it. .gitignore works well for this purpose
Is one of those suggestions the way to go or do people just have to manually create the directory structure locally so it is ready for when they need to add a file to an empty directory at which point Git will start tracking the file and thereby the directory?
Martin