How to never add WebStorm .idea folder to git ever again
Simple git trick to have a global .gitignore file
Frequently when you work with an open source repository you might accidentaly commit your .idea folder to it. Maintainers of those repositoires frown upon you changing their holy .gitignore file to prevent this problem. They don't want to hear about your crazy ideas of using a closed-source, commercial and paid-for IDE.
There is a simple trick to help that I wish I discovered years ago.
The steps are very simple:
1) Create a global .gitignore file:
2) adding the '.idea' line to it in any way you want, but. preferrably with your expensive IDE:
webstorm ~/.gitignore_global # or vim ~/.gitignore_global or .. you get the point
3) and then configure git to use it:
git config --global core.excludesfile ~/.gitignore_global
That's it! You will never have to feel like a sapper on a mine field again.
Let me know if you have any questions or thoughts in the comments below.
Let us help you on your journey to Quality Faster
We at Xolv.io specialize in helping our clients get more for less. We can get you to the holy grail of continuous deployment where every commit can go to production — and yes, even for large enterprises.
Feel free to schedule a call or send us a message below to see how we can help.
GraphQL Federation example updated to Chimp 3.0
We are happy to announce that the example showing many advanced patterns related to GraphQL usage is updated to Chimp 3.0
How to fix the annoying "Ensure there is only one instance of graphql" error
If you have been doing serious work with GraphQL over the last few years, you surely saw the "more than one instance of GraphQL error". Let me help you deal with it.