Skip to content
Waleed Khan edited this page Sep 17, 2022 · 100 revisions

Uninstall from repository

git-branchless needs to be uninstalled on a per-repository basis. To uninstall, run the following:

$ cd path/to/repo
$ git branchless init --uninstall

Uninstall manually from repository

If you don't want to run the above, you can uninstall from a repository by doing the following by hand:

  • Check the files in .git/hooks and delete any which are managed by git-branchless.
  • Check .git/config and remove any undesired aliases or settings.

Uninstall from system

To remove git-branchless from your system altogether, uninstall it with Cargo:

$ cargo uninstall git-branchless

Note that this will break any repositories which still have git-branchless installed, as they will be unable to run their Git hooks.

Clone this wiki locally