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 tmux and works standalone from inside any worktree.

Terminal window
workmux sync-files [--all]
Flag Description
--all Sync all worktrees instead of just the current one.
Terminal window
# Sync files to the current worktree
workmux sync-files
# Sync files to all worktrees at once
workmux sync-files --all