pre-commit-git on AUR (Arch User Repository)

Last updated: November 10,2024

1. Install "pre-commit-git" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install pre-commit-git on Arch using YAY

$ yay -S pre-commit-git

* (Optional) Uninstall pre-commit-git on Arch using YAY

$ yay -Rns pre-commit-git

2. Manually Install "pre-commit-git" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone pre-commit-git's git locally

$ git clone https://aur.archlinux.org/pre-commit-git.git ~/pre-commit-git

c. Go to ~/pre-commit-git folder and install it

$ cd ~/pre-commit-git $ makepkg -si

3. Information about the pre-commit-git package on Arch User Repository (AUR)

ID: 1341369
Name: pre-commit-git
PackageBaseID: 198930
PackageBase: pre-commit-git
Version: 3.3.3-1
Description: A framework for managing and maintaining multi-language pre-commit hooks.
URL: https://github.com/pre-commit/pre-commit
NumVotes: 0
Popularity: 0
OutOfDate: 1702050303
Maintainer: l1f
Submitter: l1f
FirstSubmitted: 1698319291
LastModified: 1698319291
URLPath: /cgit/aur.git/snapshot/pre-commit-git.tar.gz