git rm not working code example
Example 1: git rm cached
$ git rm --cached filename
Example 2: remove git
rm -rf .git
-r => Remove directories and there contents recursively.
-f => Ignore nonexistent files and arguments, never prompt
for more info run
rm --help