"git .gitignore" is there a way to add files to it from PhpStorm?

os: kubuntu 10.04 64bit
PhpStorm 1.0
Build: PS 95.192

from the command line adding a file to the root directory of the git repository called .gitignore will cause files within the workspace to be ignored.  Is there any way from the IDE to add to this .gitignore file?

What im hoping is possible:
* select the unwanted directory/files in the project view
* right click ->  GIT -> IGNORE

Is there any current way to ignore files from git now?

Thanks

2
4 comments

This is NOT the same as .gitignore - the latter is handled by git itself and the settings is only honored (and "emulated") by IDE regardless of source control system used.

1

found out how to do it:
go to FILE -> SETTINGS -> PROJECT SETTINGS -> VERSION CONTROL -> IGNORED FILES

click 'Add' and add the directory or file pattern you want to ignore.

0

Jetbrains this is a very poor omission indeed. Why!?

I've installed Tortoise Git with Windows Explorer integration so I can easily ignore folders to global ignore or local one

Congratz on the merge tool though - that is the best one I've seen!

 

0

Starting version 2019.2 you can do that in Version Control toolwindow: Unversioned Files:

 

See https://youtrack.jetbrains.com/issue/IDEA-125239 for details.

There's also another related feature request that you can vote for: https://youtrack.jetbrains.com/issue/IDEA-217486

0

Please sign in to leave a comment.