Skip to content

Preserve existing git hooks path (core.hooksPath) #86

Closed
@kcmr

Description

@kcmr

Hi 👋,

This is a feature request more than an issue.

My suggestion is to preserve the existing hooks path if it is defined in git config core.hooksPath, so this way it's not necessary to take into account this step when you're migrating from Husky, for instance. This is also an issue when you're switching branches with different git hooks setup and requires executing a script in preinstall or prepare like explained here to make it transparent for users.

What do you think?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions