git fxwt is a Git sub-command wrapper around git worktree designed for Firefox development. It automatically deploys your dotfiles into each new worktree, making it easy to maintain consistent configurations across multiple worktrees.
~$ mkdir firefox
~$ cd firefox
~/firefox$ git fxwt init
Initializing Firefox worktree...
Cloning into bare repository '.git'...
...
Creating dotfiles directory...
Created dotfiles directory
Initialized Firefox worktree
IMPORTANT: Copy your dotfiles into ~/firefox/dotfiles before adding worktrees~/firefox$ cp ~/.mozconfig ~/firefox/dotfiles~/firefox$ git fxwt add test-worktree -b test-branch
Preparing worktree (new branch 'test-branch')
...
Copying dotfiles into worktree test-worktree...
Copied dotfiles/.mozconfig into test-worktree/.mozconfigAdd the script directory to the PATH environment variable.