Skip to content

Instantly share code, notes, and snippets.

@voidvn
Created June 12, 2023 19:39
Show Gist options
  • Save voidvn/72a763b6d507dad77c195a8518456445 to your computer and use it in GitHub Desktop.
Save voidvn/72a763b6d507dad77c195a8518456445 to your computer and use it in GitHub Desktop.
The Git command removes files from indexing, but leaves them in the working directory.
# git rm --cached -r {folder}
git rm --cached -r .idea/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment