How To Install git-autofixup on Fedora 36

In this tutorial we learn how to install git-autofixup in Fedora 36. git-autofixup is Autofixup - create fixup commits for topic branches

Introduction

In this tutorial we learn how to install git-autofixup on Fedora 36.

What is git-autofixup

git-autofixup parses hunks of changes in the working directory out of \ git diff output and uses git blame to assign those hunks to commits in \ ..HEAD, which will typically represent a topic branch, and then \ creates fixup commits to be used with git rebase –interactive –autosquash. \ It is assumed that hunks near changes that were previously committed to \ the topic branch are related.

We can use yum or dnf to install git-autofixup on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install git-autofixup.

Install git-autofixup on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install git-autofixup using dnf by running the following command:

sudo dnf -y install git-autofixup

Install git-autofixup on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install git-autofixup using yum by running the following command:

sudo yum -y install git-autofixup

How To Uninstall git-autofixup on Fedora 36

To uninstall only the git-autofixup package we can use the following command:

sudo dnf remove git-autofixup

git-autofixup Package Contents on Fedora 36

/usr/bin/git-autofixup
/usr/share/doc/git-autofixup
/usr/share/doc/git-autofixup/Changes
/usr/share/doc/git-autofixup/README.pod
/usr/share/licenses/git-autofixup
/usr/share/licenses/git-autofixup/LICENSE
/usr/share/man/man1/git-autofixup.1.gz
/usr/share/man/man3/App::Git::Autofixup.3pm.gz
/usr/share/perl5/vendor_perl/App
/usr/share/perl5/vendor_perl/App/Git
/usr/share/perl5/vendor_perl/App/Git/Autofixup.pm

References

Summary

In this tutorial we learn how to install git-autofixup on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).