I'm using IntelliJ IDEA Community Edition 2016.1. I've put my project under Git, hosted it on GitHub.
When I first hit that Share Project on GitHub button, every single file was selected to be put under version control.
Now I want to exclude the module IML file from version control. Obliviously, I want to keep it on my hard disk. Unfortunately, I cannot find a way to do this. How do I achieve this?
I tried to delete it from the web interface, but I'm getting some fatal errors while pulling/pushing.
There is a little trick.
File Menu-> Settings | Version Control | Confirmation
, then check the Show options before adding to version control
setting under the When files are created
section. Alternatively, you could check Do not add
. It is mandatory that you do not check Add silently
.No
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With