pre-commit
Create Git hooks that get run before a commit. More information: https://pre-commit.com.
- Install pre-commit into your Git hooks:
pre-commit install
- Run pre-commit hooks on all staged files:
pre-commit run
- Run pre-commit hooks on all files, staged or unstaged:
pre-commit run --all-files
- Clean pre-commit cache:
pre-commit clean
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.