title: How can I git add a folder but none of its contents?
body: <p>is there an easy way to git add a folder but none of its contents?</p>
  
  <p>For example, if I'm developing a website with an images/ folder, I don't want the heavy images to be added to github, but I would like the folder to be added, because it makes copying the repo easier for other people / me on other computers.</p>
  
  <p>One way to almost do this is to just modify my git-ignore file so that certain types of files (like jpegs) are ignored, but if all the files in my folder are jpegs, and all of those are ignored, then github will ignore the folder as well - which is not what I want.</p>
  
  <p>Thus, I'm wondering if instead there is a one-line command that will add a folder but not its contents, ideally without having to add an empty placeholder file in every folder I want to add to github.</p>
  
  <p>Thanks!</p>
  
  <p>EDIT: From further reading, it looks like I do have to add a placeholder file like '.placeholder' or '.empty' to each folder that I want git to notice. </p>