DEV Community

Discussion on: How to Create a React Typescript Monorepo with Git Submodules

Collapse
 
alexeagleson profile image
Alex Eagleson

Same syntax as within the main module, just:

git branch branch-name

while within a directory of the submodule and the branch will be updated for the submodule and not the main module.