git-point(1)
π 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 inrefs/tags/<FROM>branchβ new branch atrefs/heads/<FROM>remote-branchβrefs/remotes/<FROM>(e.g.refs/remotes/origin/main)rawβ no prefix, interpreted literally (likeupdate-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 thegit-point.1man 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'supdate-refbehavior 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
- nixos 26.05: git-point 0.2.2
- nixpkgs unstable: git-point 0.2.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms