Ignore IDE and Editor specific files#53152
Ignore IDE and Editor specific files#53152widoz wants to merge 1 commit intoWordPress:trunkfrom widoz:patch-4
Conversation
Someone might use Phpstorm or customize the VSCode installation, those files shouldn't be committed.
|
Mamaduka
left a comment
There was a problem hiding this comment.
Thanks for contributing, @widoz!
The editor-specific files should be ignored locally via global .gitignore rather than maintain the list in the project.
Past examples: #2254 (comment) and #27360 (comment)
@Mamaduka thanks for the reply. The problem is that, you might have multiple projects for which you want to have those files under versions. Does not the global force that for all local projects? |
|
I believe you can use the Example |
@Mamaduka but at that point for only one single project I'm forced to change the |
|
The project has 100+ contributors; if everyone starts adding their environment-specific files to General solutions like these might not work for some, but they make maintaining the project easier. I'll have to close this PR as |
Someone might use Phpstorm or customize the VSCode installation, those files shouldn't be committed.
What?
Exclude IDE & Editor specific files and directories
Why?
For local development it would require less maintainance
How?
Adding some lines to
.gitignoreTesting Instructions
Not relevant
Testing Instructions for Keyboard
Not relevant
Screenshots or screencast
Not relevant