Skip to main content

Repo Flows

PropertyValue
descriptionRepo lifecycle and release-oriented workflows in RepoHelpers.
relatedRepoHelpers, Spaces, Release

This group covers the repo lifecycle flows:

  • make
  • init
  • add
  • commit
  • save
  • pull
  • push
  • sync
  • merge
  • tag
  • release
  • clone
  • rename

Working-State Flows

Examples:

mac-cli add mac-cli -All
mac-cli commit mac-cli
mac-cli save mac-cli
mac-cli save -All -Dirty -Dry
mac-cli pull mac-cli -Remote origin -Branch dev
mac-cli push mac-cli -Remote origin -Branch dev
mac-cli sync mac-cli -Remote origin -Branch dev -Rebase

Current behavior notes:

  • save, push, pull, and sync default to bulk -All -Dirty mode when no repo is specified
  • commit and save prompt once for missing text inputs
  • empty Enter falls back to the configured/generated message

Merge / Tag / Release

Examples:

mac-cli merge mac-cli
mac-cli merge -Dry
mac-cli tag mac-cli -Dry
mac-cli release mac-cli -NotesMode None -Dry

Current behavior notes:

  • merge defaults to bulk -All when no repo is specified
  • merge uses non-editor Git behavior when a merge commit is created
  • tag and release still prompt for version selection when needed
  • tag annotations and release fallback notes are config-driven

Clone / Rename

Examples:

mac-cli clone mac-docs mac-docs-copy -Dry
mac-cli rename mac-docs mac-docs-new -Dry

Current behavior notes:

  • clone copies the repo directory into a new folder in the same space
  • clone excludes the source root .git, so the result is not a Git repo
  • rename renames the repo folder inside the selected space