rebuild worktree