How to Install and Uninstall git-secrets Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 23,2024

1. Install "git-secrets" package

Please follow the instructions below to install git-secrets on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install git-secrets

2. Uninstall "git-secrets" package

Please follow the guidelines below to uninstall git-secrets on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove git-secrets $ sudo apt autoclean && sudo apt autoremove

3. Information about the git-secrets package on Ubuntu 21.04 (Hirsute Hippo)

Package: git-secrets
Architecture: all
Version: 1.3.0-4
Multi-Arch: foreign
Priority: optional
Section: universe/vcs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Francois Marier
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40
Filename: pool/universe/g/git-secrets/git-secrets_1.3.0-4_all.deb
Size: 19580
MD5sum: 3d2414fb7a742d7768f45e704270b587
SHA1: 02723961b10c5b2aecc674f974eee70afdb1a7c6
SHA256: 4553329ba878d3c02732153ee440fa8f4543c5ae2577c6824efc740f485d0233
SHA512: fc62d2f0c57b6bbbe5627a11bdcaaa429975deb6f7c391f2cd23a585aebc948b1405b56d43dc8222540550fec50c7437304cb690335bda92ccb3501b9127d13b
Homepage: https://github.com/awslabs/git-secrets
Description-en: Prevents accidental commits of credentials
git-secrets scans commits, commit messages, and --no-ff merges
to prevent adding secrets into your git repositories. If a commit,
commit message, or any commit in a --no-ff merge history matches
one of your configured prohibited regular expression patterns,
then the commit is rejected.
Description-md5: 05d772e323e9636935eca58c196c53fb