WebStorm automatically ignore images from git
Hello,
when i add new image or another non-code file to my project, webstorm automatically make him ignored (unversioned) from git (its red and can be found in unversioned files list). But I want version this files in my repository. Is there any way how I can change this default setting? I find settings for ignoring files, but there is only some temporary folders not filetypes.
Thanks
Please sign in to leave a comment.
Haven't got what you mean, sorry... You wrote: "I want version this files in my repository" - so, you don't like them being ignored, right? And they are NOT ignored according to your description - they appear in changelist and thus are suggested for addition... Would you like WebStorm to auto-add all new files to the repository? You need to enable 'Add silently' in Settings | Version Control | Confirmation then...
Yeah exactly, i dont like them being ignored. I want WebStorm to auto-add all new files to repository. I try out that settings you mentioned, but this setting only works for files created inside webstorm. When I add some file to my project directory manually (i pasted them in windows file explorer for example), this file will be automatically in unversioned files (I dont want that). Is there any way how affect that? Thanks
no; please vote for https://youtrack.jetbrains.com/issue/IDEA-52058
Note that you can drag files from Windows Explorer onto WebStorm Project window to copy/move files into the project - files added this way are auto-added to Git
I will do that, thats exactly that function.
Thanks for your time.. solved.