Skip to content

optional feature for auto installing the hooks on cloned repos #1084

@ssbarnea

Description

@ssbarnea

As pre-commit becomes more and more popular I often face myself the problem that I forget to install the hooks on newly cloned repositories.

What it would be cook is if (at clone time?) I could get a prompt that would ask me if I want to enable the hooks or not for that repository.

The idea is to find a way to detect that a repository has pre-commit but the hooks ar ere not installed and allow user to install them, with 1-2 key strokes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions