How can I untrack a file from a git repository in Intellij
git, intellij-idea
Solution
As of 2017.3.4, you cannot use the IDEA GUI to perform this command, it must be done from the command line or another tool.
From console:
git rm --cached file
git commit -m'file removed'
echo 'file' >> .gitignore
Problem
I'm having a tracked file in git but now I don't want to track it anymore (I don't want it to show up from the next commit but I still want to have it inside the folder). In the `Changes` tool window I have set that file as `ignored` in `Configured Ignored Files` but somehow when I change that file, the changes still shows up in the change list?