HG(TIP)

πŸ‘‘ HG(TIP) β€” bestie's guide to hg tip

okay so this is from the HG(TIP) manual, and babes… it's a DEPRECATED one. still iconic though. let's get into it πŸ’…


✨ NAME ✨

hg tip β€” show the tip revision (DEPRECATED) 🫠


✨ SYNOPSIS ✨

hg tip [-p] [-g]

🌸 DESCRIPTION 🌸

okay so the tip revision (everyone just calls it "the tip", casual) is the changeset that was most recently added to the repository. which means it's also the most recently changed head. two for one, we love efficiency ✨

if you literally just made a commit? congrats bestie, that commit IS the tip πŸŽ€ if you just pulled changes from another repository, then the tip of that repository becomes the current tip. the "tip" tag is special β€” it cannot be renamed and it cannot be assigned to a different changeset. it's the main character and it knows it πŸ‘‘

🚨 real talk: this command is deprecated. please use hg heads instead. i'm not being dramatic, that's just what the page says 😭

returns 0 on success. slay.


πŸ’– OPTIONS πŸ’–

  • -p, --patch β€” show patch 🩹
  • -g, --git β€” use git extended diff format 🧚
  • --style <STYLE> β€” display using template map file (DEPRECATED) πŸ’€
  • -T,--template <TEMPLATE> β€” display with template 🌈

and that's the whole page fr fr. this was HG(TIP), straight from the HG(TIP) manual page β€” no fancy version number or date came along with it, so just take the vibe and go πŸ¦‹

go run hg heads instead, bestie. do it for me. periodt πŸ’œ