This question already has an answer here:
- Remove a file from a Git repository without deleting it from the local filesystem 9 answers
The command removes the file in my system. I meant it to remove only the file from Git-repository.
How can I remove the file from a Git repository, without removing the file in my system?