git-mit icon indicating copy to clipboard operation
git-mit copied to clipboard

Add uninstall option to git mit-install

Open robolson opened this issue 1 year ago • 1 comments

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 avatar Dec 20 '24 09:12 robolson

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

PurpleBooth avatar Dec 20 '24 11:12 PurpleBooth