Re:Multi-gitter – CLI to update multiple Git repositories in...
by bilekas on Tuesday June 28, 2022 @08:09AM
(#31906652)
This is interesting, but appart from maybe some CI/CD pipeline configurations I can't think of a particularly useful reason for it.. Anyone have some suggestions ?
[ Parent
| on HN ]
Re:Multi-gitter – CLI to update multiple Git repositories in...
by smcleod on Tuesday June 28, 2022 @08:40AM
(#31906876)
Im making small, similar changes across about 30 repos of "microservices", they're a pain the the ass to maintain as they all sit with different owners - I'm not about to make a change in each repo, git add, git commit, push etc.... 30 times over, this makes it easy.
I actually found mu-repo today which is much better for this - see https://news.ycombinator.com/item?id=31906227
Re:Multi-gitter – CLI to update multiple Git repositories in...
by markwillis82 on Tuesday June 28, 2022 @08:25AM
(#31906766)
I've got ~ 70 git repos to move from AWS code commit to Gitlab and need to tweak config files in each one for the new hosting environment, so this should definitely help
Re:Multi-gitter – CLI to update multiple Git repositories in...
by lindellme on Tuesday June 28, 2022 @08:44AM
(#31906914)
Some of the most useful runs I've used it for is for refactoring of internal libraries.
Something as simple as wanting to rename a function is theoretically very simple, but if this function is used in hundreds of other repositories, it will be very tedious.
A script that upgrades the dependency + does a replace with sed or similar could be run to make this process way easier.