How To Install git-extras on CentOS 8

git-extras is Little git extras

Introduction

In this tutorial we learn how to install git-extras on CentOS 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 CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove git-extras

git-extras Package Contents on CentOS 8

/etc/bash_completion.d
/etc/bash_completion.d/git-extras
/usr/bin/git-alias
/usr/bin/git-archive-file
/usr/bin/git-authors
/usr/bin/git-browse
/usr/bin/git-brv
/usr/bin/git-bulk
/usr/bin/git-changelog
/usr/bin/git-clear
/usr/bin/git-clear-soft
/usr/bin/git-coauthor
/usr/bin/git-commits-since
/usr/bin/git-contrib
/usr/bin/git-count
/usr/bin/git-cp
/usr/bin/git-create-branch
/usr/bin/git-delete-branch
/usr/bin/git-delete-merged-branches
/usr/bin/git-delete-submodule
/usr/bin/git-delete-tag
/usr/bin/git-delta
/usr/bin/git-effort
/usr/bin/git-extras
/usr/bin/git-feature
/usr/bin/git-force-clone
/usr/bin/git-fork
/usr/bin/git-fresh-branch
/usr/bin/git-gh-pages
/usr/bin/git-graft
/usr/bin/git-guilt
/usr/bin/git-ignore
/usr/bin/git-ignore-io
/usr/bin/git-info
/usr/bin/git-local-commits
/usr/bin/git-lock
/usr/bin/git-locked
/usr/bin/git-merge-into
/usr/bin/git-merge-repo
/usr/bin/git-missing
/usr/bin/git-mr
/usr/bin/git-obliterate
/usr/bin/git-paste
/usr/bin/git-pr
/usr/bin/git-psykorebase
/usr/bin/git-pull-request
/usr/bin/git-reauthor
/usr/bin/git-rebase-patch
/usr/bin/git-release
/usr/bin/git-rename-branch
/usr/bin/git-rename-remote
/usr/bin/git-rename-tag
/usr/bin/git-repl
/usr/bin/git-reset-file
/usr/bin/git-root
/usr/bin/git-rscp
/usr/bin/git-scp
/usr/bin/git-sed
/usr/bin/git-setup
/usr/bin/git-show-merged-branches
/usr/bin/git-show-tree
/usr/bin/git-show-unmerged-branches
/usr/bin/git-squash
/usr/bin/git-stamp
/usr/bin/git-standup
/usr/bin/git-summary
/usr/bin/git-sync
/usr/bin/git-touch
/usr/bin/git-undo
/usr/bin/git-unlock
/usr/bin/git-utimes
/usr/share/doc/git-extras
/usr/share/doc/git-extras/AUTHORS
/usr/share/doc/git-extras/Commands.md
/usr/share/doc/git-extras/History.md
/usr/share/doc/git-extras/Readme.md
/usr/share/doc/git-extras/html
/usr/share/doc/git-extras/html/git-alias.html
/usr/share/doc/git-extras/html/git-archive-file.html
/usr/share/doc/git-extras/html/git-authors.html
/usr/share/doc/git-extras/html/git-browse.html
/usr/share/doc/git-extras/html/git-brv.html
/usr/share/doc/git-extras/html/git-bulk.html
/usr/share/doc/git-extras/html/git-changelog.html
/usr/share/doc/git-extras/html/git-clear-soft.html
/usr/share/doc/git-extras/html/git-clear.html
/usr/share/doc/git-extras/html/git-coauthor.html
/usr/share/doc/git-extras/html/git-commits-since.html
/usr/share/doc/git-extras/html/git-contrib.html
/usr/share/doc/git-extras/html/git-count.html
/usr/share/doc/git-extras/html/git-cp.html
/usr/share/doc/git-extras/html/git-create-branch.html
/usr/share/doc/git-extras/html/git-delete-branch.html
/usr/share/doc/git-extras/html/git-delete-merged-branches.html
/usr/share/doc/git-extras/html/git-delete-submodule.html
/usr/share/doc/git-extras/html/git-delete-tag.html
/usr/share/doc/git-extras/html/git-delta.html
/usr/share/doc/git-extras/html/git-effort.html
/usr/share/doc/git-extras/html/git-extras.html
/usr/share/doc/git-extras/html/git-feature.html
/usr/share/doc/git-extras/html/git-force-clone.html
/usr/share/doc/git-extras/html/git-fork.html
/usr/share/doc/git-extras/html/git-fresh-branch.html
/usr/share/doc/git-extras/html/git-gh-pages.html
/usr/share/doc/git-extras/html/git-graft.html
/usr/share/doc/git-extras/html/git-guilt.html
/usr/share/doc/git-extras/html/git-ignore-io.html
/usr/share/doc/git-extras/html/git-ignore.html
/usr/share/doc/git-extras/html/git-info.html
/usr/share/doc/git-extras/html/git-local-commits.html
/usr/share/doc/git-extras/html/git-lock.html
/usr/share/doc/git-extras/html/git-locked.html
/usr/share/doc/git-extras/html/git-merge-into.html
/usr/share/doc/git-extras/html/git-merge-repo.html
/usr/share/doc/git-extras/html/git-missing.html
/usr/share/doc/git-extras/html/git-mr.html
/usr/share/doc/git-extras/html/git-obliterate.html
/usr/share/doc/git-extras/html/git-paste.html
/usr/share/doc/git-extras/html/git-pr.html
/usr/share/doc/git-extras/html/git-psykorebase.html
/usr/share/doc/git-extras/html/git-pull-request.html
/usr/share/doc/git-extras/html/git-reauthor.html
/usr/share/doc/git-extras/html/git-rebase-patch.html
/usr/share/doc/git-extras/html/git-release.html
/usr/share/doc/git-extras/html/git-rename-branch.html
/usr/share/doc/git-extras/html/git-rename-remote.html
/usr/share/doc/git-extras/html/git-rename-tag.html
/usr/share/doc/git-extras/html/git-repl.html
/usr/share/doc/git-extras/html/git-reset-file.html
/usr/share/doc/git-extras/html/git-root.html
/usr/share/doc/git-extras/html/git-scp.html
/usr/share/doc/git-extras/html/git-sed.html
/usr/share/doc/git-extras/html/git-setup.html
/usr/share/doc/git-extras/html/git-show-merged-branches.html
/usr/share/doc/git-extras/html/git-show-tree.html
/usr/share/doc/git-extras/html/git-show-unmerged-branches.html
/usr/share/doc/git-extras/html/git-squash.html
/usr/share/doc/git-extras/html/git-stamp.html
/usr/share/doc/git-extras/html/git-standup.html
/usr/share/doc/git-extras/html/git-summary.html
/usr/share/doc/git-extras/html/git-sync.html
/usr/share/doc/git-extras/html/git-touch.html
/usr/share/doc/git-extras/html/git-undo.html
/usr/share/doc/git-extras/html/git-unlock.html
/usr/share/doc/git-extras/html/git-utimes.html
/usr/share/doc/git-extras/md
/usr/share/doc/git-extras/md/Readme.md
/usr/share/doc/git-extras/md/git-alias.md
/usr/share/doc/git-extras/md/git-archive-file.md
/usr/share/doc/git-extras/md/git-authors.md
/usr/share/doc/git-extras/md/git-browse.md
/usr/share/doc/git-extras/md/git-brv.md
/usr/share/doc/git-extras/md/git-bulk.md
/usr/share/doc/git-extras/md/git-changelog.md
/usr/share/doc/git-extras/md/git-clear-soft.md
/usr/share/doc/git-extras/md/git-clear.md
/usr/share/doc/git-extras/md/git-coauthor.md
/usr/share/doc/git-extras/md/git-commits-since.md
/usr/share/doc/git-extras/md/git-contrib.md
/usr/share/doc/git-extras/md/git-count.md
/usr/share/doc/git-extras/md/git-cp.md
/usr/share/doc/git-extras/md/git-create-branch.md
/usr/share/doc/git-extras/md/git-delete-branch.md
/usr/share/doc/git-extras/md/git-delete-merged-branches.md
/usr/share/doc/git-extras/md/git-delete-submodule.md
/usr/share/doc/git-extras/md/git-delete-tag.md
/usr/share/doc/git-extras/md/git-delta.md
/usr/share/doc/git-extras/md/git-effort.md
/usr/share/doc/git-extras/md/git-extras.md
/usr/share/doc/git-extras/md/git-feature.md
/usr/share/doc/git-extras/md/git-force-clone.md
/usr/share/doc/git-extras/md/git-fork.md
/usr/share/doc/git-extras/md/git-fresh-branch.md
/usr/share/doc/git-extras/md/git-gh-pages.md
/usr/share/doc/git-extras/md/git-graft.md
/usr/share/doc/git-extras/md/git-guilt.md
/usr/share/doc/git-extras/md/git-ignore-io.md
/usr/share/doc/git-extras/md/git-ignore.md
/usr/share/doc/git-extras/md/git-info.md
/usr/share/doc/git-extras/md/git-local-commits.md
/usr/share/doc/git-extras/md/git-lock.md
/usr/share/doc/git-extras/md/git-locked.md
/usr/share/doc/git-extras/md/git-merge-into.md
/usr/share/doc/git-extras/md/git-merge-repo.md
/usr/share/doc/git-extras/md/git-missing.md
/usr/share/doc/git-extras/md/git-mr.md
/usr/share/doc/git-extras/md/git-obliterate.md
/usr/share/doc/git-extras/md/git-paste.md
/usr/share/doc/git-extras/md/git-pr.md
/usr/share/doc/git-extras/md/git-psykorebase.md
/usr/share/doc/git-extras/md/git-pull-request.md
/usr/share/doc/git-extras/md/git-reauthor.md
/usr/share/doc/git-extras/md/git-rebase-patch.md
/usr/share/doc/git-extras/md/git-release.md
/usr/share/doc/git-extras/md/git-rename-branch.md
/usr/share/doc/git-extras/md/git-rename-remote.md
/usr/share/doc/git-extras/md/git-rename-tag.md
/usr/share/doc/git-extras/md/git-repl.md
/usr/share/doc/git-extras/md/git-reset-file.md
/usr/share/doc/git-extras/md/git-root.md
/usr/share/doc/git-extras/md/git-scp.md
/usr/share/doc/git-extras/md/git-sed.md
/usr/share/doc/git-extras/md/git-setup.md
/usr/share/doc/git-extras/md/git-show-merged-branches.md
/usr/share/doc/git-extras/md/git-show-tree.md
/usr/share/doc/git-extras/md/git-show-unmerged-branches.md
/usr/share/doc/git-extras/md/git-squash.md
/usr/share/doc/git-extras/md/git-stamp.md
/usr/share/doc/git-extras/md/git-standup.md
/usr/share/doc/git-extras/md/git-summary.md
/usr/share/doc/git-extras/md/git-sync.md
/usr/share/doc/git-extras/md/git-touch.md
/usr/share/doc/git-extras/md/git-undo.md
/usr/share/doc/git-extras/md/git-unlock.md
/usr/share/doc/git-extras/md/git-utimes.md
/usr/share/doc/git-extras/md/man-template.md
/usr/share/licenses/git-extras
/usr/share/licenses/git-extras/LICENSE
/usr/share/man/man1/git-alias.1.gz
/usr/share/man/man1/git-archive-file.1.gz
/usr/share/man/man1/git-authors.1.gz
/usr/share/man/man1/git-browse.1.gz
/usr/share/man/man1/git-brv.1.gz
/usr/share/man/man1/git-bulk.1.gz
/usr/share/man/man1/git-changelog.1.gz
/usr/share/man/man1/git-clear-soft.1.gz
/usr/share/man/man1/git-clear.1.gz
/usr/share/man/man1/git-coauthor.1.gz
/usr/share/man/man1/git-commits-since.1.gz
/usr/share/man/man1/git-contrib.1.gz
/usr/share/man/man1/git-count.1.gz
/usr/share/man/man1/git-cp.1.gz
/usr/share/man/man1/git-create-branch.1.gz
/usr/share/man/man1/git-delete-branch.1.gz
/usr/share/man/man1/git-delete-merged-branches.1.gz
/usr/share/man/man1/git-delete-submodule.1.gz
/usr/share/man/man1/git-delete-tag.1.gz
/usr/share/man/man1/git-delta.1.gz
/usr/share/man/man1/git-effort.1.gz
/usr/share/man/man1/git-extras.1.gz
/usr/share/man/man1/git-feature.1.gz
/usr/share/man/man1/git-force-clone.1.gz
/usr/share/man/man1/git-fork.1.gz
/usr/share/man/man1/git-fresh-branch.1.gz
/usr/share/man/man1/git-gh-pages.1.gz
/usr/share/man/man1/git-graft.1.gz
/usr/share/man/man1/git-guilt.1.gz
/usr/share/man/man1/git-ignore-io.1.gz
/usr/share/man/man1/git-ignore.1.gz
/usr/share/man/man1/git-info.1.gz
/usr/share/man/man1/git-line-summary.1.gz
/usr/share/man/man1/git-local-commits.1.gz
/usr/share/man/man1/git-lock.1.gz
/usr/share/man/man1/git-locked.1.gz
/usr/share/man/man1/git-merge-into.1.gz
/usr/share/man/man1/git-merge-repo.1.gz
/usr/share/man/man1/git-missing.1.gz
/usr/share/man/man1/git-mr.1.gz
/usr/share/man/man1/git-obliterate.1.gz
/usr/share/man/man1/git-paste.1.gz
/usr/share/man/man1/git-pr.1.gz
/usr/share/man/man1/git-psykorebase.1.gz
/usr/share/man/man1/git-pull-request.1.gz
/usr/share/man/man1/git-reauthor.1.gz
/usr/share/man/man1/git-rebase-patch.1.gz
/usr/share/man/man1/git-release.1.gz
/usr/share/man/man1/git-rename-branch.1.gz
/usr/share/man/man1/git-rename-remote.1.gz
/usr/share/man/man1/git-rename-tag.1.gz
/usr/share/man/man1/git-repl.1.gz
/usr/share/man/man1/git-reset-file.1.gz
/usr/share/man/man1/git-root.1.gz
/usr/share/man/man1/git-scp.1.gz
/usr/share/man/man1/git-sed.1.gz
/usr/share/man/man1/git-setup.1.gz
/usr/share/man/man1/git-show-merged-branches.1.gz
/usr/share/man/man1/git-show-tree.1.gz
/usr/share/man/man1/git-show-unmerged-branches.1.gz
/usr/share/man/man1/git-squash.1.gz
/usr/share/man/man1/git-stamp.1.gz
/usr/share/man/man1/git-standup.1.gz
/usr/share/man/man1/git-summary.1.gz
/usr/share/man/man1/git-sync.1.gz
/usr/share/man/man1/git-touch.1.gz
/usr/share/man/man1/git-undo.1.gz
/usr/share/man/man1/git-unlock.1.gz
/usr/share/man/man1/git-utimes.1.gz

References

Summary

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