Skip to content

flow sync

Refresh workspace cache and discover new executables.

Synopsis

Refresh the workspace cache and discover new executables. Use --git to also pull latest changes for all git-sourced workspaces before syncing. Use --force with --git to discard local changes and hard reset to the remote.

shell
flow sync [flags]

Examples

shell
flow sync               # rescan all workspaces for new executables
flow sync --git         # pull all git-sourced workspaces, then rescan
flow sync --git --force # hard-reset git workspaces before rescan

Options

FlagTypeDescription
--forceForce update by discarding local changes (hard reset to remote)
-g, --gitPull latest changes for all git-sourced workspaces before syncing
-h, --helphelp for sync
-o, --outputstringOutput format. One of: yaml, json, or tui.

Options inherited from parent commands

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also

  • flow — flow is a command line interface designed to make managing and running development workflows easier.