.\" generated with Ronn-NG/v0.8.0 .\" http://github.com/apjanke/ronn-ng/tree/0.8.0 .TH "HUB\-SYNC" "1" "March 2019" "GITHUB" "Hub Manual" .SH "NAME" \fBhub\-sync\fR \- Fetch git objects from upstream and update branches\. .SH "SYNOPSIS" \fBhub sync\fR .IP "\[ci]" 4 If the local branch is outdated, fast\-forward it; .IP "\[ci]" 4 If the local branch contains unpushed work, warn about it; .IP "\[ci]" 4 If the branch seems merged and its upstream branch was deleted, delete it\. .IP "" 0 .P If a local branch doesn`t have any upstream configuration, but has a same\-named branch on the remote, treat that as its upstream branch\. .SH "SEE ALSO" hub(1), git\-fetch(1)