git:branch
git:branch
Section titled “git:branch”Show git branch with audit trail
Options:
| Flag | Description | Required |
|---|---|---|
--base-dir <dir> | Base directory for git operations | No |
--list, -l | List branches | No |
-a, --all | List both local and remote branches | No |
-r, --remotes | List only remote branches | No |
--show-current | Print the name of the current branch | No |
--contains <commit> | Only list branches containing the specified commit | No |