How will you remove a file from Git without actually removing it from your local filesystem?
280k points Registered user
You can use the ‘cached’ option for this:
git rm -rf –cached $FILES
This command will remove the files from your repository without deleting them from your disk.
Get access to your account and question