hraban / tomono

Multi- To Mono-repository merge
https://tomono.0brg.net
GNU Affero General Public License v3.0
842 stars 138 forks source link

How to sync the new branches of the subrepos after migration? #38

Closed leaflinfeng closed 3 years ago

leaflinfeng commented 3 years ago

Hello: I have two subrepos named repo1 and repo2 with branch master/dev。After the migration,the monorepo have branch master/dev。After that,the repo1 and repo2 create new branch dev_new。How can monorepo sync the new branch dev_new? Thanks

hraban commented 2 years ago

Hi, this is a great question, thank you for asking. I just pushed a change that enables this: the remotes are now setup such that all you need to do is:

git fetch --all

And it will automatically fetch new tags in the correct namespace.