I use Android Studio, and I wanted to use git for my project and I'm very confused now about how version control systems are working here.
So I created a .gitignore file in the project root directory to ignore some files when I'm committing changes. But the problem is when I click commit changes, the opening dialog will contain a lot of files that I included in .gitignore.
I've done "git rm --cached ." in the terminal, but nothing changed.
I'm starting to think that if I want to use gui for vcs operations, then I need to declare the ignores in Settings\Version Control\Ignored Files, and I can only use the .gitignore file if I use the terminal for vcs operations. Is it true?