git-autofixup command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
git-autofixup: command not found
or when using sudo you get the following error message
sudo: git-autofixup: command not found
Solutions to git-autofixup: command not found
How To Fix git-autofixup: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu git-autofixup is provided by git-autofixup package.
git-autofixup is:
git-autofixup creates fixup commits from changes in the worktree. This can save the tedious work of amending fixes into the appropriate commits during codereview.
Changes to consider are parsed out of git-diff(1) and git-blame(1) is used to assign hunks to commits since the revision given on the commandline, which will typically represent a topic branch. Then it creates fixup commits to be used with git rebase –autosquash.
To fix this problem, we can install more using the command below.
sudo apt-get -y install git-autofixup
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install git-autofixup.
sudo apt -y install git-autofixup
Or if you have aptitude installed you can use the following command.
sudo aptitude install git-autofixup
Summary
In this tutorial we learn how to fix git-autofixup command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.