On Mon, Nov 22, 2021 at 04:51:07AM -0800, 'Sebastian G' via Git for human beings wrote:
Hi, i'm very kew to git and want it to use for configfiles for our opsi-installations. There are 11 seperate locations, with different configfiles. When updating a software for opsi, i manually change the needed files. This works fine. So my question is, do i need more repositorys (for every location one) or could i use one repository ? one repo opsi-repo: | |--location1 | config1 |--location2 | config2 or several repos: opsi | |--repo-location1 | config1 |--repo-location2 | config2 Any hints for me?
AFAIK, if either ot these choices is not somehow mandated by "opsi" - for whatever that thing is, - I would recommend having a single repository. The reasoning is simple: think about what will happen if you eventially will need to have 11,000 separate locations instead of 11? Clearly, it's simpler to have 11k folders in a single repo than to deal with 11k separate repos. An added bonus is that recording of the fact a location is changed or removed or renamed will be explicitly recorded in that single repository; if you will have separate repositories, those events will need to be recorded somewhere else, separately. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/20211122181535.bxjeoxnupo5rj3jf%40carbon.