|
|
Log in / Subscribe / Register

Managing *multiple* git repos

Managing *multiple* git repos

Posted Nov 5, 2019 19:54 UTC (Tue) by swilmet (guest, #98424)
Parent article: Git v2.24.0

Git is great, but it has a view of only one git repository at a time. For projects having hundreds of git repos, people need to write some scripts to make some batch changes to several git repos.

For example when all the git repos change their URLs (a move to GitLab for example), we need to execute the command `git remote set-url […]`.

I wrote a script for that, but I'm interested to know if there is an existing polished solution, well documented etc. A real program that has a view and can manage *multiple* git repos. Does this exist?


to post comments

Managing *multiple* git repos

Posted Nov 5, 2019 20:09 UTC (Tue) by sitsofe (guest, #104576) [Link] (1 responses)

Do you mean something like Google's repo - https://gerrit.googlesource.com/git-repo ?

Managing *multiple* git repos

Posted Nov 6, 2019 16:35 UTC (Wed) by swilmet (guest, #98424) [Link]

Yes, it's probably what I need. That project is also listed in the related links section of the myrepos homepage:

https://myrepos.branchable.com/

(see the comment below).

Managing *multiple* git repos

Posted Nov 6, 2019 1:58 UTC (Wed) by pabs (subscriber, #43278) [Link] (1 responses)

Personally I'm using myrepos for managing multiple repos (of various kinds; CVS, Subversion, Mercurial, Git). There are many other solutions for this, probably the one you want is gitbatch, see the related links section of the myrepos homepage:

https://myrepos.branchable.com/

Managing *multiple* git repos

Posted Nov 6, 2019 16:31 UTC (Wed) by swilmet (guest, #98424) [Link]

Cool, so it exists! I'll look at myrepos and gitbatch. Thanks!

Managing *multiple* git repos

Posted Nov 7, 2019 4:46 UTC (Thu) by draco (subscriber, #1792) [Link]

There's also gitslave. It appears to be a dead upstream, but it works for a lot of cases.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds