Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add uninstall option to git mit-install #1541

Open
robolson opened this issue Dec 20, 2024 · 1 comment
Open

Add uninstall option to git mit-install #1541

robolson opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@robolson
Copy link

Is your feature request related to a problem? Please describe.
I added git-mit to many of repositories on my computer. I have chosen to stop using git-mit but the uninstallation procedure is manual. If git-mit provides an install command, it is logical that it would also provide an uninstall.

Describe the solution you'd like
A command like git mit-install --uninstall that will remove the git hooks put in place by git-mit.

@robolson robolson added the enhancement New feature or request label Dec 20, 2024
@PurpleBooth
Copy link
Owner

PurpleBooth commented Dec 20, 2024

Cool, will look at this.

Until I get round to this, here's an uninstall guide:

You can on a per repo basis just delete the files in the git hooks directory usually .git/hooks

If you installed them globally we add them using the templateDir. You can remove this config or remove the files from the hooks folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants