git submodule set-branch <path>
Sets the default remote tracking branch for the submodule
Arguments
Name | Description |
---|---|
path | Path to submodule |
Options
Name | Description |
---|---|
-b, --branch <branch> | Branch of repository to add as submodule |
-d, --default | Removes the submodule.<name>.branch configuration key, which causes the tracking branch to default to the remote HEAD |
-- | End of subcommand options |