title: Git: untrack a file in local repo only and keep it in the remote repo
body: <p>I have a NetBeans file "nbproject/project.properties" that always shows up in the <strong>"Changes not staged for commit"</strong> section (when I do git status). How could I move this to the Untracked files section (without adding it to .gitignore) ? I tried this command <code>git rm --cached</code> but what happened is the file shows as untracked in my local repo and got removed in the remote one but what I want is to keep it in remote and untrack only in local repo.</p>