Uninstall
Remove git drivers for Git Graph.
The uninstall command removes the diff, difftool, and merge driver configurations set up by Git Graph under the graph name. Just as with installation, you have the option to remove these configurations in different scopes (local, system, global, or worktree).
Usage
Description
Run the uninstall command to remove the previously installed Git drivers for Git Graph from your Git configuration. By default, if no scope is specified, the drivers will be removed from the local repository's Git configuration. You may also specify other scopes (system, global, or worktree) as needed.
Removing the drivers only deletes the Git configuration entries under the name graph. It does not remove the git-graph binary.
Options
-
-f, --force(default: false)Force the removal of the
graphdrivers. -
-l, --local(default: true)Remove the drivers from the local repository's Git configuration.
-
-s, --system(default: false)Remove the drivers from the system Git configuration (e.g.,
/etc/gitconfigfor Linux). -
-g, --global(default: false)Remove the drivers from the global Git configuration (typically located at
~/.gitconfig). -
-w, --worktree(default: false)Remove the drivers from the worktree Git configuration.
-
--skip-diff(default: false)Do not remove the
diffdriver configuration. -
--skip-difftool(default: false)Do not remove the
difftoolconfiguration. -
--skip-merge(default: false)Do not remove the
mergedriver configuration. -
-h, --helpDisplay help for the command.
Examples
Local Uninstallation
To remove the drivers from a local repository's Git configuration, navigate to the repository root and run:
The --local scope is the default; running this command outside of a Git repository will result in an error.
Global Uninstallation
To remove the drivers globally, use the following command:
Use the --force flag if you encounter issues removing the configuration due to modified settings.
Help
You can display the full help for the uninstall command by running:
How is this guide?