title: git allow one directory while exclude rest folder in .gitignore fle
body: <p>I have a Wordpress website in which I have code as shown below: </p>
  
  <p>wp-content/uploads/</p>
  
  <p>which exclude uploads wp-content/uploads/ from git commit. But now I reached to the case where I have to include a subfolder <strong>wp-content/uploads/MY_CUSTOM_PDF</strong></p>
  
  <p>How should I only allow <strong>MY_CUSTOM_PDF</strong> to be included in git commit while ignore the rest as it was earlier.</p>