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 FrearBrought to you by Warp, a free terminal reimagined to work like a modern app.
Command
Copy
git rm -r --cached .
git add .
Tags
Edit in GitHub
Copied