Is it possible to create one project in GitHub, and two teams who are using different IDE like Eclipse and Intellij can configure project with github and can work simultaneously on same project? I have searched it but not able to find proper solution for it.
3 Answers
Yes, you even can version:
- your .project and .classpath (eclipse)
- and your
.idea
folder (intellij)
And both set of IDE-specific files would ignore each others: one could use the Eclipse settings without realizing there is an IntelliJ IDEA project, and vice-versa.
Yes this is possible. Most IDE's do create some specific project folders, where the IDE does store Data for your project. As example local build paths and so on.
Git provides the .gitignore file.
In this file you can specify which folders and files git will ignore. As example IDE Based files and folders. Due that every developer can his favourite IDE and no local IDE based files will be in the Git Porject itself.
Most IDE's will update or crate the .gitignore File automatic when they do find an git folder in the project.
What files you have to add to the .gitignore file is differs from IDE to IDE. It also depends on what Programm language your Project is written in.
Here you can find more about the gitignore file:
How do I ignore files in a directory in Git?
http://www.bmchild.com/2012/06/git-ignore-for-java-eclipse-project.html

- 1
- 1

- 476
- 5
- 14
-
Thank you very much for in-depth explanation. – Mad MAX Dec 17 '14 at 06:41
-
Ah just to complete it. The .gitignore file can be used for other usefull stuff like Config files. – S.Gartmeier Dec 19 '14 at 09:40
-
To prevent everyone commit the local config file with, local SQL Connection data and similar stuff. Create a sample Config and simply let GIT ignore the actual Config. If your project goes to a testing or live area it will make it easier, due you can just take the sample config and write the new area values in it. The same is for new developers who may join. They can just take the sample config and insert their local test values. – S.Gartmeier Dec 19 '14 at 09:47
Yes you can, there no limits on IDEs and number of team members, check this for Eclipse and this for IntelliJ

- 543
- 4
- 17