How can I make PhpStorm automatically exclude specific file types from committing to VCS?

Answered

After wasting almost 1 hour trying to figure this one out, I gave up and reached out for help & guidance. So here's my question: what's the automatic way of ignoring certain file types, for instance .PSDs? Being forced to un-check the box in the Commit Changes dialog for each files I want to ignore, is a mentally tiresome and repetitive task I'd rather prefer not to waste my time with.

 

 

If anyone could point me in the right direction, I'd be very grateful.

0
2 comments

It depends on the VCS you are using, for Git, that would be adding the file extension to the .gitignore file:
https://www.jetbrains.com/help/idea/set-up-a-git-repository.html#ignore-files
If you are using a different VCS, please specify which exactly.

0

Hi Eugene

 

I'm using Git. Apologies for the lack of clarity. In any case, your response has proven to be quite helpful. Problem solved, thank you so much.

0

Please sign in to leave a comment.