Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Branch Model

MediaGit uses lightweight branches similar to Git.

Branch Storage

Branches are files in refs/heads/ containing commit hashes.

Operations

  • Create: mediagit branch <name>
  • Switch: mediagit branch <name>
  • List: mediagit branch --list
  • Delete: mediagit branch --delete <name>

Branch Protection

Protected branches prevent force-push and deletion.

See CLI Reference - branch for details.