git-point(1)

πŸ“¦ version 0.2.2, in nixos 26.05, nixpkgs unstable

πŸ’– git-point(1) β€” the manual, but make it make sense πŸ’–

okay so real talk, bestie: this is git-point, and honestly? it's the glow-up git update-ref never got. we're setting arbitrary refs without shooting yourself in the foot, because it's a porcelain git update-ref and we're being responsible about it ✨


✨ SYNOPSIS ✨

git-point [-n|--new] [-W|--allow-worktree] [--color] [--mangen]
[-h|--help] [-V|--version] [FROM] [TO]

🌸 DESCRIPTION 🌸

Set arbitrary refs without shooting yourself in the foot, a porcelain git update-ref πŸŽ€

like. that's the whole pitch. you get to point refs wherever you want, but with guardrails so you don't accidentally nuke your repo's whole vibe. it's giving "responsible main character energy" πŸ’…


πŸ¦‹ OPTIONS πŸ¦‹

  • -n, --new=KIND β€” create a brand new ref of KIND instead of updating one that already exists πŸ†•

here's the menu of possible values, no cap:

  • tag β€” new lightweight tag in refs/tags/<FROM>
  • branch β€” new branch at refs/heads/<FROM>
  • remote-branch β€” refs/remotes/<FROM> (e.g. refs/remotes/origin/main)
  • raw β€” no prefix, interpreted literally (like update-ref, be careful! πŸ’€)
  • -W, --allow-worktree β€” allow mutating refs that are currently checked out. and listen, this will *not* change any of the actual files in the worktree, so don't @ me πŸ™ˆ
  • --color=COLOR [default: auto] β€” when should we use terminal colors, bestie 🌈

[possible values: auto, always, never]

  • --mangen β€” generate the git-point.1 man page straight to stdout, then exit πŸ“„βœ¨
  • -h, --help β€” print help (see a summary with -h) 🫢
  • -V, --version β€” print version πŸ‘‘
  • [FROM] β€” the ref to update, iykyk 🎯
  • [TO] β€” the revision to point <FROM> to πŸ”₯

πŸŽ€ VERSION πŸŽ€

v0.2.2 ⭐


πŸ‘‘ AUTHORS πŸ‘‘

Qyriad <qyriad@qyriad.me> β€” absolute icon, we stan πŸ’œ


ngl the one thing to actually be careful about is --new=raw, because it's interpreted literally with no prefix. that's update-ref behavior and it can absolutely ruin your day if you typo. be careful fr fr 😭

okay bye bestie, go point some refs responsibly πŸ¦‹πŸ’– β€” this page is from git-point 0.2.2 (which is also the source/version in the footer), and that's the whole manual, periodt ✨🌸

πŸ“¦ where this page comes from