It often happens that while working on one project, you need to use another project from within it.
Perhaps it’s a library that a third party developed or that you’re developing separately and using in multiple parent projects.
If that submodule push fails for some reason, the main project push will also fail.
You can make this behavior the default by doing If you change a submodule reference at the same time as someone else, you may run into some problems. remote: Total 2 (delta 1), reused 2 (delta 1) Unpacking objects: 100% (2/2), done.
A common issue arises in these scenarios: you want to be able to treat the two projects as separate yet still be able to use one from within the other. Suppose you’re developing a website and creating Atom feeds.