mgitstatus command not found

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

Introduction

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

mgitstatus: command not found

or when using sudo you get the following error message

sudo: mgitstatus: command not found

Solutions to mgitstatus: command not found

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

In Ubuntu mgitstatus is provided by mgitstatus package.

mgitstatus is:

mgitstatus is a tool that loop over multiple Git repositories reporting, for each one, the uncommitted, untracked and unpushed changes. The output is nicely formatted using colors to quickly detect which repositories need action.

When working over several project, mgitstatus is quite helpful to track unfinished work, not in sync with your remotes. Optionally, it can also check if the repository needs a pull by fetching remote branches.

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

sudo apt-get -y install mgitstatus

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

You can also use apt command to install mgitstatus.

sudo apt -y install mgitstatus

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

sudo aptitude install mgitstatus

Summary

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