doesdev / gitignored-cleanup

Batch remove git ignored files from version control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Batch remove git ignored files from version control


Languages

Language:Shell 100.0%