How can I force add a file to git which is on .gitignore list?

How can I force add a file to git which is on .gitignore list?
In console this is simply done by git add -f <filename>.

Thanks!

0
3 comments
Avatar
Permanently deleted user

What's more - I added a file from .gitignore via console, then went back to the IDE and tried to commit my changes, but the IDE popped an error that it cannot commit files from ignore list...
So looks like now there is no way to commit an ignored file from the IDE which is not good :( Could you please add the feature to force add ignored files?

0

Hello Nick,

You're welcome to submit a request about supporting "add -f" to our issue tracker: http://youtrack.jetbrains.com/dashboard/IDEA#newissue=yes

0
Avatar
Permanently deleted user

Issue added WI-9842

0

Please sign in to leave a comment.