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

NAME

6       hub-sync - Fetch git objects from upstream and update local branches.
7

SYNOPSIS

9       hub sync [--color]
10
11       · If the local branch is outdated, fast-forward it;
12       · If the local branch contains unpushed work, warn about it;
13       · If the branch seems merged and its upstream branch was deleted,
14         delete it.
15
16       If a local branch does not have any upstream configuration, but has a
17       same-named branch on the remote, treat that as its upstream branch.
18

OPTIONS

20       --color[=WHEN]
21           Enable colored output even if stdout is not a terminal. WHEN can be
22           one of "always" (default for --color), "never", or "auto"
23           (default).
24

SEE ALSO

26       hub(1), git-fetch(1)
27
28
29
30
31hub version 2.11.2                22 Apr 2019                      hub-sync(1)
Impressum