Back to snippets Git November 09, 2025 1 min read Git Ignore Cached Rm git rm -r –cached .idea This removes .idea from Git index only, not your disk. (–cached = keep local, untrack in repo.)