Should I commit my idea folder in git and in remote version controls like Github? Is it a good practice?
You shouldn't ignore the idea folder. you're supposed to commit almost all of it to the repo.
idea folder should be ignored, and if that's the case, it would automatically create a . gitignore file with the line . idea/ in it. But it didn't, so I assumed that I shouldn't ignore the .
After you enter the desired Idea Folder, click on the trash icon on the upper right corner of the Idea Folder box. Note: By deleting the Idea Folder you will also delete all ideas in Idea Folder.
According to that page, you should check in all files in the . idea directory except: workspace. xml.
I wouldn't commit any specific IDE configuration into the repository.
2 important reasons are:
IDE configuration almost always involves absolute paths in disk, where different users may not have the same...
You don't want to constraint all users to use the same IDE config...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With