Skip to content

sync-files

Copy page

Re-applies file operations (copy and symlink from the files config) to existing worktrees. Useful when you add new entries to the config or a symlink was accidentally deleted.

Unlike open --force-files, this command does not require a running Rex server and works standalone from inside any worktree.

Terminal window
workrex sync-files [--all]
FlagDescription
--allSync all worktrees instead of just the current one.
Terminal window
# Sync files to the current worktree
workrex sync-files
# Sync files to all worktrees at once
workrex sync-files --all