git-track(1)

πŸ’… git-track β€” set up branch for tracking a remote

okay so this is the git-track(1) page from the hxtools manual, and it is lowkey a tiny little icon ✨ it does one job and does it slayfully. no cap.


🌸 Name

git-track β€” set up branch for tracking a remote.

✨ Syntax

git-track remote/branch

you hand it one thing: remote/branch. that's the whole argument situation, bestie 🫢

πŸ’– Description

it's a wrapper. like, that's the vibe. it calls:

git config branch.<current>.remote = <nickname>
git config branch.<current>.merge = <remote-ref>

so yes: <current> is the current branch, <nickname> is the nickname, and <remote-ref> is the remote-ref. it's giving "set up branch for tracking a remote" energy, periodt πŸ’…

πŸ¦‹ See also


that's the whole page, bestie πŸ’– β€” hxtools, 2008-11-18, signing off ✨

πŸ“¦ where this page comes from