DEV Community

Discussion on: How to work with git submodule?

 
ghostbasenji profile image
GhostBasenji

In every project, still need to file .gitignore?
Or is one file per repository with multiple projects sufficient?

Thread Thread
 
jingxue profile image
Jing Xue

It really depends on how different your projects are going to be from each other. You can have a .gitignore in each project so that it can be customized specifically for the project. You can also have one .gitignore at the repo root which would be simpler to maintain.

Thread Thread
 
ghostbasenji profile image
GhostBasenji

Yes, the programming language will be the same for all repositories.
Thank you very much.