I know there have been some questions about this. But all I see are using "git -rm --cached", which actually untrack the files at the local side. If I want to remove the file on the remote git repo, what should I do?
When I try to remove untracked file from the Github website, it still creates a commit. Then I fetch and pull from the remote and the untracked file is deleted, which is some local configuration file (e.g. .classpath). I want that untracked file to be removed from remote and it won't affect my next pull. Is there anyway to do that? Or I just have to create another branch or repo?