I\'ve recently started using Git and am having trouble with just one thing. How can I track directories without tracking their contents?
For example the site I\'m wo
The best solution so far:
1) Create a .gitignore file
2) Write inside:
* */ !.gitignore
3) Add the .gitignore file to the folder that you want.
Source: https://stackoverflow.com/a/5581995/2958543