switch_branch
Change the git branch that mb
commands will use when interacting with Modelbit. The branch can also be set when calling mb.login
.
Parameters
mb.switch_branch(branch=)
branch
:str
The name of the branch to switch to using in the current notebook session
Example
Change from the current branch to my_branch
:
mb.switch_branch("my_branch")