gitriddance command not found

In this troubleshooting guide we learn how to fix gitriddance command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gitriddance: command not found

or when using sudo you get the following error message

sudo: gitriddance: command not found

Solutions to gitriddance: command not found

How To Fix gitriddance: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gitriddance is provided by github-backup package.

github-backup is:

github-backup is a simple tool you run in a git repository you cloned from GitHub. It backs up everything GitHub publishes about the repository, including other forks, issues, comments, wikis, milestones, pull requests, and watchers.

Also includes gitriddance, which can be used to close all open issues and pull requests.

To fix this problem, we can install more using the command below.

sudo apt-get -y install github-backup

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install github-backup.

sudo apt -y install github-backup

Or if you have aptitude installed you can use the following command.

sudo aptitude install github-backup

Summary

In this tutorial we learn how to fix gitriddance command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.