My project contains hundred of directories and subdirectories and I would like to remove all JSON files from git but keep them in the project
I tried
git rm -r ./*.json
but it's only removed the JSON files from the current directory. Is there a way to recursively remove them from all directories?