I want to ignore public folder and its inside folders and file in git
public/app
public/dist/file.html
public/dist/bower_components/
public/dist/fonts/
public/dist/scripts/
i want to ignore all of them and their inside files i followed this link Add newly created specific folder to .gitignore in Git
I am doing it like this in .gitignore file
public/app/*
public/dist//*
public/dist/bower_components/*
public/dist/fonts/*
public/dist/scripts/
but its not working ,i can stil see these files on git status