Skip to content

flow workspace update

Pull latest changes for a git-sourced workspace.

Synopsis

Pull the latest changes from the git remote for a workspace that was added from a Git URL. If NAME is omitted, the current workspace is used.

This respects the branch or tag that was originally specified when the workspace was added. Use --force to discard local changes and hard reset to the remote.

shell
flow workspace update [NAME] [flags]

Options

FlagTypeDescription
--forceForce update by discarding local changes (hard reset to remote)
-h, --helphelp for update
-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