Skip to content

m git branch

Display the current git branch name.

example::

$ m git branch
master
Source code in m/cli/commands/git/branch.py
class Arguments(BaseModel):
    """Display the current git branch name.

    example::

        $ m git branch
        master
    """