Ok to answer my own question. To go back to using .gitignore, do the following:
- Go to Settings > Version Control > Ignored Files and remove all ignored files. Hit Apply.
- Still in Settings > Version Control change the type of version control from Git to none. Hit Apply.
- Delete the project’s .git directory created previously.
- Create the following .gitignore file in the root directory of your project:
https://stackoverflow.com/a/21049338/459095 - VCS > Enable Version Control… to Re-enable Git.
- Then right click on the project root and select Git > Add to add the entire project.
Doing the above will utilize the .gitignore file instead of Settings > Version Control > Ignored Files to commit the right files.