Workspace Isolation is Verdent’s system for ensuring parallel work never interferes with itself. Each workspace is a completely separate working environment, isolated at the filesystem level using git worktrees.

What You’ll Learn

  • How workspace isolation prevents conflicts
  • How git worktrees enable isolation
  • Difference between Base Workspace and Workspaces
  • Creating, switching, and managing workspaces
  • Best practices for workspace management

What is Workspace Isolation?

Workspace Isolation ensures that changes from one task never affect another. Try different approaches in parallel, compare results, and selectively rebase only the changes you want back into the main branch.

How It Works

LayerHow It Works
DirectoryEach workspace is an isolated directory
BranchEach workspace has its own branch checkout
FilesFile changes in one workspace don’t affect others
StagingEach workspace has its own staging area

Benefits

Zero Interference

Parallel agents can’t conflict, physically impossible

Safe Experimentation

Try risky changes without affecting stable code

Clear Comparison

Use git diff to compare approaches across workspaces

Selective Rebasing

Only rebase results you trust

Base Workspace vs Workspaces

Base Workspace

The Base workspace is your original repository checkout, serving as the default starting point.
CharacteristicDescription
LocationYour original git clone or init location
Primary BranchTypically on master or development branch
Reference PointSource for comparing experimental work
When to Use Base:
  • Quick changes that don’t need isolation
  • Reference point for comparing experimental work
  • When you want changes to go directly to the main branch
  • Simple tasks where parallel execution isn’t needed

Workspace

A Workspace is an isolated working environment created using git worktrees, with its own independent branch checkout and file state. When to Use a Workspace:
  • Parallel feature development
  • Experimenting with risky changes
  • Working on multiple tasks simultaneously
  • When you want isolation before rebasing

Creating and Managing Workspaces

Creating a New Workspace

PlatformShortcut
macOSCmd+Shift+N
WindowsCtrl+Shift+N
What Happens:
  1. Verdent creates an isolated git worktree directory
  2. A new branch is created (or existing branch checked out)
  3. The workspace is fully isolated from other workspaces
  4. Workspace appears in All Workspaces in the top bar

Switching Between Workspaces

ActionmacOSWindows
Next WorkspaceCtrl+TabCtrl+Tab
Previous WorkspaceCtrl+Shift+TabCtrl+Shift+Tab
Select WorkspaceClick All Workspaces in the top barClick All Workspaces in the top bar
State Preservation:
  • Verdent keeps all workspace states alive
  • Switch instantly without setup delay
  • Full context preserved when switching

Rebasing Workspace Changes

When you’re ready to integrate workspace changes back to the main branch:

Using Verdent UI

1

Complete Work

Complete work in the workspace
2

Review Changes

Click Task Changes in the middle panel to review all modifications
3

Rebase to main branch

Click Workspace Actions → Rebase to main branch in the Workspace Bar
4

Resolve Conflicts

Resolve any conflicts if prompted
5

Verify

Review changes before confirming

Keeping Workspaces Updated

Use Workspace Actions → Sync with main branch to pull the latest changes from the main branch into your workspace. This helps prevent large conflicts when rebasing.

Best Practices

Naming Conventions

PracticeExample
Descriptive namesfeature-auth, bugfix-123, experiment-caching
Include ticket numbersJIRA-456-user-login
Keep names shortAvoid overly long names

Workspace Maintenance

PracticeWhy
Delete rebased workspacesFree up disk space
Remove abandoned experimentsKeep workspace list manageable
Keep workspace count reasonableSystem resources are finite

Git Hygiene

PracticeWhy
Commit frequentlyCommit work in progress before switching
Small commitsSmaller commits are easier to cherry-pick
Sync with base regularlyDon’t let workspaces diverge too far from the main branch
Reduce conflict complexityRegular integration prevents large conflicts

FAQs

Each workspace duplicates working files but shares the .git directory. Space usage roughly equals your project size per workspace. Large projects with many parallel workspaces will use significant disk space.
Yes. Delete the workspace through Verdent. This removes the directory but preserves any committed work on the branch.
Uncommitted changes are lost when a workspace is deleted. Always commit or stash changes before removing a workspace.
No direct conversion, but you can rebase all changes from the workspace to the main branch, then delete the workspace. The branch history is preserved.
Yes. Git worktrees are a standard git feature. They work with GitHub, GitLab, Bitbucket, and any other git hosting service.

See Also