Skip to content
devops13 active rulesVerified 2026-09-30

Lefthook .gitignore Template

Standard Lefthook gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.

Interactive Stack Generator

Open in Full Generator
Search for templates
Quick add:
Selected1
Lefthook
Selected Templates (1)
.gitignore
### Lefthook ###
# https://lefthook.dev/configuration/#config-file-name
/.lefthook-local.json
/.lefthook-local.toml
/.lefthook-local.yaml
/.lefthook-local.yml
/lefthook-local.json
/lefthook-local.toml
/lefthook-local.yaml
/lefthook-local.yml
/.config/lefthook-local.json
/.config/lefthook-local.toml
/.config/lefthook-local.yaml
/.config/lefthook-local.yml
# https://lefthook.dev/configuration/source_dir_local.html
/.lefthook-local/
13 rules1 template18 lines
Deterministic

Raw Lefthook .gitignore

Crawlable upstream source template
lefthook.gitignore17 lines
# https://lefthook.dev/configuration/#config-file-name
/.lefthook-local.json
/.lefthook-local.toml
/.lefthook-local.yaml
/.lefthook-local.yml
/lefthook-local.json
/lefthook-local.toml
/lefthook-local.yaml
/lefthook-local.yml
/.config/lefthook-local.json
/.config/lefthook-local.toml
/.config/lefthook-local.yaml
/.config/lefthook-local.yml
# https://lefthook.dev/configuration/source_dir_local.html
/.lefthook-local/

Key Pattern Breakdown

Core Ignored Rules

Primary upstream ignore rules defined for this technology.

/.lefthook-local.json/.lefthook-local.toml/.lefthook-local.yaml/.lefthook-local.yml/lefthook-local.json/lefthook-local.toml+2 more

Source & Verification

License:: CC0-1.0

Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.