How To Install git-extras on AlmaLinux 8

In this tutorial we learn how to install git-extras in AlmaLinux 8. git-extras is Little git extras

Introduction

In this tutorial we learn how to install git-extras on AlmaLinux 8.

What is git-extras

git-extras adds the following extra-commands to git alias, archive-file, bug, changelog, commits-since, contrib, count, create-branch, delete-branch, delete-submodule, delete-tag, effort, extras, feature, fresh-branch, gh-pages, graft, ignore, info, local-commits, obliterate, promote, refactor, release, repl, setup, squash, summary, touch, undo For more information about the extra-commands, see the included README.md, HTML, mark-down or man-pages.

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

Install git-extras on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install git-extras

Install git-extras on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install git-extras

How To Uninstall git-extras on AlmaLinux 8

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

sudo dnf remove git-extras

References

Summary

In this tutorial we learn how to install git-extras on AlmaLinux 8 using yum and dnf.