Possible Duplicate:
git - removing a file from source control (but not from the source)
I have a .classpath file which is currently in GIT repository.
After I pulled from remove repository(git pull origin master). How can I remove this file from GIT control, I mean NOT to delete this file from my computer but remove it from GIT version control. (Because this file is not needed for version control).
P.S.
I tried git rm <path-to>/.classpath , but then my whole project complains about wrong class path, why git rm delete my file instead of remove from version control ???