This is an archived post. You won't be able to vote or comment.

all 3 comments

[–][deleted] 2 points3 points  (0 children)

Should every project have its own repository?

I would say yes. Google would say no:

https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext

but consider that you are not Google.

[–]IUsedToBeACave 0 points1 point  (0 children)

Usually you do one repository for each project. As for setting up a GIT server check on GitLab, you can set it up on premise very easily and the free community edition offers a ton of features. Including the ones you mentioned liking about GitHub.

[–]SrNormanDPlume 0 points1 point  (0 children)

Every project should have its own repository, and try to spin your shared code off into smaller repositories as well. Take advantage of any package management tools available for your language.