I currently have something like:
javascripts/ plugin.js plugin.min.js stylesheets/ style.css style.min.css
How would I get
I believe you have to git rm filename --cached to remove the files from your git repo if you added it to .gitignore afterwards. (note: this will remove it from the repo, not from directory)
git rm filename --cached