I can't think of a git way that does what you want. If you don't want to create multiple repos, and instead want to keep all the projects in one repo, just keep them under the same root directory, and, well, commit them to the same repo.
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.
Thanks. How do I do this, and what command should I use?
I can't think of a git way that does what you want. If you don't want to create multiple repos, and instead want to keep all the projects in one repo, just keep them under the same root directory, and, well, commit them to the same repo.
In every project, still need to file .gitignore?
Or is one file per repository with multiple projects sufficient?
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.Yes, the programming language will be the same for all repositories.
Thank you very much.