Repository navigation
.gitignore cleanup - #244
Conversation
|
I agree that IDE-specific files should be ignored in your global .gitignore, however, since I am maintaining oss projects for a while now, I also know that not all contributors do this. Just having all these files in the projects I am open to be convinced otherwise if you can give me a good reason (better than the reason why keeping them in there) why they should not be in the projects |
|
If you change to global gitignore once with your IDE rules you won't have to bother anymore about it anymore - it's win-win situation. And if this will make a trouble to anyone maybe we can convince that contributor to start using global gitignore. I fully agree wit this article: https://dev.to/oleksiyrudenko/please-do-not-pollute-projects-gitignore-3h8e |
|
I am 👍🏻 |
| phpunit.xml | ||
| humbuglog.txt | ||
| /composer.lock | ||
| /phpunit.xml |
There was a problem hiding this comment.
Maybe .dist and rename the file?
There was a problem hiding this comment.
I don't get the question - we have .dist file and ignore phpunit.xml, what would you like to change?
There was a problem hiding this comment.
Name it phpunit.xml.dist as it’s a best practice AFAIK and the ignore that file
There was a problem hiding this comment.
I still don't get it, what do you want to name phpunit.xml.dist?
AFAIK best practice is to have phpunit.xml.dist and ignore phpunit.xml - exactly what we have right now.
There was a problem hiding this comment.
You are totallly right I mixed things up 😂 Christmas is coming... need to relax more 😉
Directories/files IDE specific should be handled with global .gitignore.