URGENT database related files git repository
Answered
I have been trying gitignore.io, stackoverflow, reddit, and a .gitignore file at jetbrains website.
Student at university in a 4 person group project. Professor wants us to use intellij for java and github for our project repository. The current issue: Using the db tool within intellij, I connected to our remote db (freeslqdatabases.com) and created tables for our first phase. The files are ignored by git. What EXACTLY do I need in .gitignore to enable this without sharing files that are user dependent?
Also, are their settings for other features like GUI/FORM/Window building that have files that must be allowed for git?
thanks
Please sign in to leave a comment.
Please clarify what do you want to share, the database itself or the database connection settings?
For the rest of the configuration, please refer to https://intellij-support.jetbrains.com/hc/en-us/articles/206544839.
Well, I guess both. Everyone should be able refactor the database. You know add tables, delete, etc. Then they will need to be able to change the remote database as well.
If the DB is remote and is not hosted on your machine, you don't need to share it. So if you only need to share the connection settings, add .idea/dataSources.xml file to Git.
ok, it is working now! thanks so much.
Also, that link was very helpful.