Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
evilmartians
/
lefthook
Public
Notifications
You must be signed in to change notification settings
Fork
315
Star
8.9k
Code
Issues
70
Pull requests
18
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
All pull requests
New pull request
Search pull requests
is
:
pr
state
:
open
is:pr state:open
Clear filter
Search
Pull requests
Open
18
(18)
Closed
886
(886)
Author
Label
Projects
Milestones
Reviews
Assignee
Sort by
Newest
descending
More items
Comfortable display density
Compact display density
refactor: working with git
#1564
·
mrexox
opened
Oct 1, 2026
Member
·
3 of 5 tasks
·
·
Add protect-branch example to docs
#1563
·
vim89
opened
Oct 1, 2026
·
·
fix: diff push files against the merge base with the default branch
#1554
·
tiagovilasboas
opened
Sep 25, 2026
·
·
1
fix: check CLICOLOR_FORCE case-insensitively on Windows and isolate its tests
#1552
·
Yash121l
opened
Sep 23, 2026
Contributor
·
·
1
fix: fail closed when lefthook is missing but the repo has a config
#1549
·
liqdmetal
opened
Sep 17, 2026
·
·
1
12
refactor(config): migrate to github.com/go-viper/mapstructure/v2
#1546
·
scop
opened
Sep 15, 2026
Contributor
·
·
1
fix: don't write an install-time lefthook path into AI hook configs
#1544
·
anandghegde
opened
Sep 14, 2026
·
·
1
6
deps: bump github.com/gobwas/glob from 0.2.3 to 1.0.0
dependencies
go
#1541
·
dependabot[bot]
opened
Sep 14, 2026
Bot
·
·
fix: keep the unstaged-changes backup per worktree
#1530
·
oficiallyAkshay
opened
Sep 6, 2026
·
·
1
3
fix(templates): stop baking install-time path into shared hook shims
#1526
·
rwinkelman
opened
Sep 1, 2026
Contributor
·
1 of 2 tasks
·
·
1
6
fix(install): honor lefthook-local.yml without creating lefthook.yml
#1522
·
rwinkelman
opened
Aug 31, 2026
Contributor
·
1 of 2 tasks
·
·
1
6
fix(run): propagate job exit codes for agent hooks
#1520
·
rwinkelman
opened
Aug 31, 2026
Contributor
·
1 of 2 tasks
·
·
1
6
fix(exec): expose lefthook binary on PATH for nested hook commands
#1519
·
rwinkelman
opened
Aug 31, 2026
Contributor
·
1 of 2 tasks
·
·
1
6
fix: install hooks from a local-only config
#1494
·
sjh9714
opened
Aug 17, 2026
·
·
1
6
fix: preserve quoting of run commands and forwarded script args
#1464
·
Bineroflux
opened
Jul 8, 2026
·
·
1
4
feat(pkg): add Composer (PHP) registry (#719)
#1457
·
midsonlajeanty
opened
Jun 29, 2026
·
·
1
5
Add
pre-commit.stash_unstaged_changes
to control stashing
#1412
·
AlexanderLarionovQC
opened
May 15, 2026
·
·
15
feat: Add stream option for real-time output without requiring TTY
#1180
·
jasonwbarnett
opened
Oct 31, 2025
Contributor
·
·
1
5
You can’t perform that action at this time.