Skip to main content

Module branch

Module branch 

Source
Expand description

mkit branch — list / create / delete branches.

Output modes for the list form:

  • default — <marker> <name> per line, * marks current. Matches git branch: the commit id is not shown (it moved behind -v).
  • -v / --verbose<marker> <name> <short> <subject>, the name column padded to the longest branch name, like git branch -v. The abbreviated id is a BLAKE3 prefix (the documented hash-length divergence), not a 40-hex SHA-1 prefix.
  • --format=json — JSONL: {"name":"...","current":bool,"hash":"<64-hex>"}.

Functions§

run