1. hub-sync(1)
  2. hub manual
  3. hub-sync(1)

Fetch git objects from upstream and update local branches.


hub sync [--color]

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.


Enable colored output even if stdout is not a terminal. WHEN can be one of "always" (default for --color), "never", or "auto" (default).

See also

hub(1), git-fetch(1)