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