Skip to content

daft eject

Convert a worktree-based repository back to traditional layout

Usage

daft eject [OPTIONS] [REPOSITORY_PATH]

This is equivalent to git worktree-flow-eject. All options and arguments are the same.

Description

Converts your worktree-based repository back to a traditional Git layout. This removes all worktrees except one, and moves that worktree's files back to the repository root.

By default, the remote's default branch (main, master, etc.) is kept. Use --branch to specify a different branch.

See Also

Released under the MIT License.