GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Command for removing git hooks · Issue #2219 · voidzero-dev/vite-plus

Command for removing git hooks #2219

New issue
Copy link
New issue
Copy link
Closed
Feature
#2341
Closed
Command for removing git hooks#2219
Feature
#2341
Copy link
Assignees
dennybiasiolli
Labels
enhancementNew feature or requestpending triage
Milestone
RC

Description

@TheAlexLichter
TheAlexLichter
opened on Jul 22, 2026
Issue body actions

Description

Right now, we don't have a way to remove git hooks once set up and people have to go through steps

Suggested solution

A command to remove them.

Alternative

Manually following the docs

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.
Reacted by JongKyung Lee and Liang

Activity

  1. TheAlexLichter
    added the
    Feature
    issue type on Jul 22, 2026
  2. TheAlexLichter
    added
    pending triage
    on Jul 22, 2026
  3. dennybiasiolli commented on Aug 4, 2026

    @dennybiasiolli
    dennybiasiolli
    on Aug 4, 2026
    Contributor
    More actions

    Hey @TheAlexLichter 😄
    I can try and help with this, what do you think about something like this?

    vp config --uninstall-hooks
    vp config --uninstall-hooks --hooks-dir .custom-hooks

    Acting like this:
    vp config --uninstall-hooks unsets core.hooksPath only when it points at the Vite+ dispatcher and removes <hooks-dir>/_. Leaves .vite-hooks/pre-commit, staged config, and package.json scripts alone (same as the manual steps in the guide after #2218).

    Flag Behavior
    --uninstall-hooks Run uninstall and exit (no install, no agent update).
    --hooks-dir <path> Same default and rules as install (default .vite-hooks).
    Combined with --no-hooks Error: contradictory.
    Reacted by Alexander Lichter
  4. TheAlexLichter commented on Aug 4, 2026

    @TheAlexLichter
    TheAlexLichter
    on Aug 4, 2026
    MemberAuthor
    More actions

    Hey @dennybiasiolli 👋🏻
    Nice to see you around here 😋

    I am not a big fan of an argument to uninstall hooks and given we add more "features" to hooks it is time to add own command IMO. Maybe sth like:

    • vp hooks install [--hooks-dir .custom-hooks]
    • vp hooks disable
    • vp hooks enable
    • vp hooks status

    We should also persist the decision of the user.

    cc @fengmk2 wdyt

  5. fengmk2 commented on Aug 5, 2026

    @fengmk2
    fengmk2
    on Aug 5, 2026
    Member
    More actions

    Agree with vp hooks sub command, and I think vp hooks setup is better then vp hooks install, others look good.

    Reacted by JongKyung Lee and Alexander Lichter
  6. fengmk2
    added this to the RC milestone on Aug 5, 2026
  7. fengmk2
    assigned
    dennybiasiolli
    on Aug 7, 2026
  8. fengmk2
    added
    enhancementNew feature or request
    on Aug 9, 2026
  9. fengmk2
    added a commit that references this issue on Aug 10, 2026

    feat(cli): add `vp hooks` command for managing Git hooks (#2219) (#2341)

    c1bdd5d
  10. fengmk2
    closed this as completedin #2341on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dennybiasiolli
    dennybiasiolli

Labels

enhancementNew feature or requestpending triage

Type

Feature

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    • RC

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.