Grence

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

$ git graph uninstall [options]

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 graph drivers.

  • -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/gitconfig for 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 diff driver configuration.

  • --skip-difftool (default: false)

    Do not remove the difftool configuration.

  • --skip-merge (default: false)

    Do not remove the merge driver configuration.

  • -h, --help

    Display 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:

git graph uninstall

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:

git graph uninstall --global

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:

$ git graph uninstall -h
 
Usage: git-graph uninstall [options]
 
Remove the diff, difftool, and merge drivers under the name "graph" from the Git config.
 
Options:
  -f, --force      Force the removal of the "graph" diff, difftool, and merge drivers. (default: false)
  -l, --local      Remove the "graph" diff, difftool, and merge drivers from the local repository's Git config. (default when no scope is specified)
  -s, --system     Remove the drivers from the system Git config (e.g. /etc/gitconfig). (default: false)
  -g, --global     Remove the drivers from the global Git config (~/.gitconfig). (default: false)
  -w, --worktree   Remove the drivers from the worktree Git config. (default: false)
  --skip-diff      Skip uninstalling the diff driver configuration. (default: false)
  --skip-merge     Skip uninstalling the merge driver configuration. (default: false)
  --skip-difftool  Skip uninstalling the difftool configuration. (default: false)
  -h, --help       Display help for command.

How is this guide?

On this page