Skip to content

Remove A Folder From Git Tracking

For when you inevitably forget to update .gitignore before committing your IDE configs

.idea
Terminal window
git rm -r --cached .idea
Terminal window
git add .gitignore
git commit -m 'chore: remove .idea folder from git tracking'