This question is very similar to the following:
https://stackoverflow.com/a/8025106/882428
The difference being that I'm trying to do it for a single directory rather than the entire project.
I have the following directory structure:
/temp/
/temp/local/
/temp/remote/
Each directory has files within it that I would not like tracked, but I also include a .keep
file to ensure the folders exist, but there can also be any number of other folders within /temp/
.
I've tried dozens of configurations but either get nothing new in my git status
or all of the files.