Skip to content

Uninstall

Remove GitWit from the current repository or undo its global installation, restoring Git’s default behavior without the tool integration.

Removal can affect both configured aliases and previously installed hooks.

Use

bash
gitwit uninstall [-g] [-hk]
OptionDescription
-hk, --hookRemove the prepare-commit-msg hook configured in the current repository.
-g, --globalRemove GitWit global alias, making the command unavailable in other repositories.

⚠️ Warning:

The --hook and --global options cannot **be used together.

Examples

bash
# Remove the configured alias from the current repository
gitwit uninstall

# Remove GitWit global installation
gitwit uninstall --global

# Remove the current repository hook
gitwit uninstall --hook

Released under the Apache License.