Skip to content

git:branch

← Back to CLI Commands

Show git branch with audit trail

pnpm git:branch

Options:

FlagDescriptionRequired
--base-dir <dir>Base directory for git operationsNo
--list, -lList branchesNo
-a, --allList both local and remote branchesNo
-r, --remotesList only remote branchesNo
--show-currentPrint the name of the current branchNo
--contains <commit>Only list branches containing the specified commitNo

← Back to CLI Commands