laresistance2 — 2012-08-05T17:01:51-04:00 — #1
I want to know how to keep an empty folder with git.
Many people used the trick of adding an empty file (eg .gitkeep) in this folder.
But would like to know if there is a way to do it without adding a file in that folder, but simply add path folder to in a configuration file (a bit like the file .gitignore).
markbrown4 — 2012-08-05T18:19:25-04:00 — #2
laresistance2 — 2012-08-06T04:32:32-04:00 — #3
So the only hack is to add an empty file (.gitkeep or other) in the folder
In some cases it is interesting to do, for example in a branch where the software is stable, we can offer people to download the software directly via the branch and therefore the application can run, you have these folders (cache, temporary, ...) is present.
markbrown4 — 2012-08-06T06:37:11-04:00 — #4
As far as I know, usually those types of functions create the folders required if they're not there.
system — 2014-10-07T22:45:33-04:00 — #5
This topic is now closed. New replies are no longer allowed.