Jamie ReardonTreehouse Project Reviewer
What about removing files out of a subdirectory?
So I understand about the git rm subcommand removing files, but what I encountered is that if I had folders inside of my git repo, if I remove any files inside of those folders, the whole folder is also removed? How do I keep the folders but only remove the files?
Jay McGavrenTreehouse Teacher
Git will not track an empty folder. If you have a folder that you want to keep, try creating and committing a file named
.gitkeep inside it.