Delete newly git-ignored files from your repository

After adding new files to the .gitignore file, these commands will update the git index

Authored by: Matt Frear
Brought to you by Warp, a free terminal reimagined to work like a modern app.

Command
Copy
git rm -r --cached . git add .
Tags