Fork github repo with submodules?
Asked Answered
W

0

1

I'm trying to fork a github repo which uses several sub-modules. If I just fork the repo, the submodules are still referencing the original submodules (i.e., the submodules themselves arent forked). There are too many submodules for me manually fork them all! Is there a way to fork all the submodules too?

Also, if possible I'd like to be able to update the submodules automatically if there are changes to them. Whats the best way to do this? Thank you!

Warmhearted answered 14/5, 2018 at 19:5 Comment(2)
Why do you need to fork the submodules? Do you want to actually make changes to their code too? What you're describing is the expected behaviour. Also note you have to explicitly update submodules.Narah
@Narah Yes, I need to update their code too! Sorry, what do you mean by explicitly update submodules?Warmhearted

© 2022 - 2024 — McMap. All rights reserved.