Super simple bash script to remove any files matching your gitignore entries from version control. Files are only removed from git, not your working directory.
Instructions:
- Add gitignored-cleanup.sh to the directory containing .gitignore
- Set script executable (chmod +x gitignored-cleanup.sh)
- Run with "./gitignored-cleanup.sh"
note: You can toggle comments on the 4 git commands to test before running