I have tried putting all kinds of crazyness into the gitignore file, I would like to ignore all files in the public/dist folder
public/dist/ public/ */public/dist/ **/public/dist
and all other kinda of variations.
this is what I see when I run git status, I want to ignore the bundle.js
After you've added the new .gitignore
to your working index, don't forget to remove any files that you don't want to track via git rm --cached
. In your case, you'd want to use git rm --cached public/dist/bundle.js
to stop tracking that file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With