啟動及同步 Fuchsia git 簽出的本機依附元件
usage: fx sync [--force]
--force Re-run the sync even if the pinned state has not changed.
If run in a plain OSS fuchsia.git clone without an existing Jiri checkout,
initializes an untracked stub integration directory and synchronizes Jiri
projects and prebuilt packages to match the current HEAD.
In an internal checkout, where internal sources have been added at
//vendor/google as a git repository, the dependencies declared by that
repository are synchronized as well. fx sync never moves the fuchsia.git or
//vendor/google HEADs; it only brings the rest of the tree in line with them.
A standard Jiri checkout is detected when .jiri_root or integration already
exists without a .fxsync directory; in that case, fx sync exits without
modifying the checkout.