Hello,
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).

Thank you