Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doesdev/gitignored-cleanup

Batch remove git ignored files from version control
https://github.com/doesdev/gitignored-cleanup

Last synced: about 20 hours ago
JSON representation

Batch remove git ignored files from version control

Awesome Lists containing this project

README

        

gitignored-cleanup
==================

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:

1. Add gitignored-cleanup.sh to the directory containing .gitignore
2. Set script executable (chmod +x gitignored-cleanup.sh)
3. Run with "./gitignored-cleanup.sh"

note: You can toggle comments on the 4 git commands to test before running