HG(BRANCHES)

🌸 hg branches β€” the HG(BRANCHES) page, bestie 🌸

πŸ’– NAME πŸ’–

hg branches β€” list repository named branches

✨ SYNOPSIS ✨

hg branches [-c]

πŸŽ€ DESCRIPTION πŸŽ€

Okay so hg branches lists the repository's named branches, and it tells you which ones are inactive. If you pass -c/--closed, it also lists branches that have been marked closed β€” see hg commit --close-branch.

Wanna switch to a branch that already exists? Use the command hg update. Slay.

🧚 Template:

The following keywords are supported in addition to the common template keywords and functions such as {branch}. Also go peep hg help templates.

  • active β€” Boolean. True if the branch is active.
  • closed β€” Boolean. True if the branch is closed.
  • current β€” Boolean. True if it is the current branch.

Also: Returns 0.

πŸ’… OPTIONS πŸ’…

  • -a, --active β€” show only branches that have unmerged heads (DEPRECATED)
  • -c, --closed β€” show normal and closed branches
  • -r,--rev <VALUE[+]> β€” show branch name(s) of the given rev
  • -T,--template <TEMPLATE> β€” display with template
[+] marked option can be specified multiple times

πŸ’– That's the HG(BRANCHES) manual moment, bestie. Manual name: HG(BRANCHES). Stay iconic. πŸ’–