hub-sync(1)
okay so bestie, this is the hub-sync(1) page from the hub manual π
β and itβs literally giving βfetch git objects from upstream and update local branchesβ energy. periodt.
π NAME π
hub-sync β fetch git objects from upstream and update local branches π«Ά thatβs the whole assignment.
π¦ SYNOPSIS π¦
hub sync [--color]
okay so when you run it, hereβs the vibe check π:
- if the local branch is outdated, fast-forward it;
- if the local branch contains unpushed work, warn about it;
- if the branch seems merged and its upstream branch was deleted, delete it.
and one more lil rule: if a local branch does not have any upstream configuration, but has a same-named branch on the remote, treat that as its upstream branch β¨
π OPTIONS π
--color[=WHEN]β enable colored output even ifstdoutis not a terminal πWHENcan be"always"(the default for--color),"never", or"auto"(the default).
π SEE ALSO π
okay bye bestie π this was hub-sync(1) from hub version 2.14.2, dated 07 Jan 2024 β slay, hydrate, and may your branches always fast-forward π«Άβ¨πΈ
π¦ where this page comes from
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- opensuse-leap 16.0: hub 2.14.2-bp160.1.13 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms