Skip to content

[Feature] Copy non-version-control files to Worktree upon creation #23

@dkunzler

Description

@dkunzler

Hi,

I'm using worktree for a few weeks now and I notice that I would love one additional feature:

Add the ability to define a set of files/folders that are copied to the new worktree upon creation. For example this could be a large node_modules folder or some local ignored environment files with credentials.
This could save the headache of running npm install (or other long running package manager) or copying over credentials.

The definition could be in a config file direclty in the repository to exchange that with other developers like .worktree (if not reserved) or something like that.

Kind regards.
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions