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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
pre-commit
/
pre-commit
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1k
Star
15.5k
Code
Issues
18
Pull requests
8
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
pre-commit
tests
on
main
User selector
All users
All time
Commit history
Commits on Aug 10, 2026
fix `language: node` for hooks with build scripts and npm 11.x
asottile
committed
3056619
View commit details
Copy full SHA for 3056619
View code at this point
Browse repository at this point
Commits on Jul 21, 2026
avoid duplicate files in --all-files during conflict
asottile
committed
8a1c47a
View commit details
Copy full SHA for 8a1c47a
View code at this point
Browse repository at this point
Return an error for invalid --repo
mxr
authored and
asottile
committed
1d811d9
View commit details
Copy full SHA for 1d811d9
View code at this point
Browse repository at this point
Commits on Jul 15, 2026
Merge pull request #3711 from damonbayer/dmb_JULIA_DEPOT_PATH
Show description for 374d354
asottile
authored
374d354
View commit details
Copy full SHA for 374d354
View code at this point
Browse repository at this point
set JULIA_DEPOT_PATH
damonbayer
authored and
asottile
committed
1e7994f
View commit details
Copy full SHA for 1e7994f
View code at this point
Browse repository at this point
install via git for `language: node`
Show description for b1cc920
asottile
committed
b1cc920
View commit details
Copy full SHA for b1cc920
View code at this point
Browse repository at this point
Commits on Apr 21, 2026
make --hook-dir optional for hook-impl
asottile
committed
d7dee32
View commit details
Copy full SHA for d7dee32
View code at this point
Browse repository at this point
--hook-type is required for hook-impl
asottile
committed
2eacc06
View commit details
Copy full SHA for 2eacc06
View code at this point
Browse repository at this point
Commits on Dec 16, 2025
fix python local template when artifact dirs are present
asottile
committed
51592ee
View commit details
Copy full SHA for 51592ee
View code at this point
Browse repository at this point
Commits on Nov 22, 2025
Merge pull request #3585 from pre-commit/hazmat
Show description for 3358a3b
asottile
authored
3358a3b
View commit details
Copy full SHA for 3358a3b
View code at this point
Browse repository at this point
add pre-commit hazmat
asottile
committed
bdf6879
View commit details
Copy full SHA for bdf6879
View code at this point
Browse repository at this point
Commits on Nov 21, 2025
use ExitStack instead of start + stop
asottile
committed
8d34f95
View commit details
Copy full SHA for 8d34f95
View code at this point
Browse repository at this point
Commits on Nov 19, 2025
Merge pull request #3583 from pre-commit/forward-compat-map-manifest
Show description for 9c7ea88
asottile
authored
9c7ea88
View commit details
Copy full SHA for 9c7ea88
View code at this point
Browse repository at this point
add forward-compat error message
asottile
committed
844dacc
View commit details
Copy full SHA for 844dacc
View code at this point
Browse repository at this point
move logic for gc back to commands.gc
asottile
committed
66278a9
View commit details
Copy full SHA for 66278a9
View code at this point
Browse repository at this point
Commits on Nov 9, 2025
refactor gc into store
Show description for d5c273a
asottile
committed
d5c273a
View commit details
Copy full SHA for d5c273a
View code at this point
Browse repository at this point
Commits on Nov 8, 2025
Fix docker-in-docker detection for cgroups v2
br-rhrbacek
authored and
asottile
committed
f80801d
View commit details
Copy full SHA for f80801d
View code at this point
Browse repository at this point
rename system and script languages to unsupported / unsupported_script
asottile
committed
725acc9
View commit details
Copy full SHA for 725acc9
View code at this point
Browse repository at this point
fix missing context in error for stages
asottile
committed
aa2961c
View commit details
Copy full SHA for aa2961c
View code at this point
Browse repository at this point
remove redundant system spaces test
Show description for 8bbfcf1
asottile
committed
8bbfcf1
View commit details
Copy full SHA for 8bbfcf1
View code at this point
Browse repository at this point
Commits on Sep 6, 2025
Merge pull request #3537 from pre-commit/security-options-null
Show description for 924680e
asottile
authored
924680e
View commit details
Copy full SHA for 924680e
View code at this point
Browse repository at this point
handle `SecurityOptions: null` in docker response
asottile
committed
2930ea0
View commit details
Copy full SHA for 2930ea0
View code at this point
Browse repository at this point
Add fail-fast argument for run command
JulianMaurin
authored and
asottile
committed
c78f248
View commit details
Copy full SHA for c78f248
View code at this point
Browse repository at this point
Commits on Aug 8, 2025
Make Dart pre-commit hook compatible with the latest Dart SDKs
Show description for f1cc7a4
bc-lee
committed
f1cc7a4
View commit details
Copy full SHA for f1cc7a4
View code at this point
Browse repository at this point
Commits on Aug 2, 2025
Julia language: skip startup.jl file
ericphanson
authored and
asottile
committed
6f1f433
View commit details
Copy full SHA for 6f1f433
View code at this point
Browse repository at this point
Commits on May 23, 2025
Fix permission errors for mounts in rootless docker
Show description for 466f6c4
3 people
authored and
asottile
committed
466f6c4
View commit details
Copy full SHA for 466f6c4
View code at this point
Browse repository at this point
Commits on Mar 18, 2025
adjust python default_language_version to prefer versioned exe
asottile
committed
3e8d0f5
View commit details
Copy full SHA for 3e8d0f5
View code at this point
Browse repository at this point
Commits on Mar 15, 2025
fix: crash on ambiguous ref 'HEAD'
tusharsadhwani
authored and
asottile
committed
b7eb412
View commit details
Copy full SHA for b7eb412
View code at this point
Browse repository at this point
Commits on Jan 20, 2025
fix: ensure env patch is applied for vanilla emulation
Show description for c2c061c
lorenzwalthert
authored and
asottile
committed
c2c061c
View commit details
Copy full SHA for c2c061c
View code at this point
Browse repository at this point
Commits on Dec 28, 2024
Merge pull request #3375 from pre-commit/dotnet-tests-ubuntu-latest
Show description for 18b3939
asottile
authored
18b3939
View commit details
Copy full SHA for 18b3939
View code at this point
Browse repository at this point
update .net tests to use .net 8
Show description for 28c3d81
asottile
committed
28c3d81
View commit details
Copy full SHA for 28c3d81
View code at this point
Browse repository at this point
fix docker_image test when ubuntu:22.04 image is not pre-pulled
asottile
committed
aa85be9
View commit details
Copy full SHA for aa85be9
View code at this point
Browse repository at this point
Commits on Nov 25, 2024
Merge pull request #3304 from AleksaC/go-toolchain
Show description for cb14bc2
asottile
authored
cb14bc2
View commit details
Copy full SHA for cb14bc2
View code at this point
Browse repository at this point
disable automatic toolchain switching for golang hooks
AleksaC
authored and
asottile
committed
109628c
View commit details
Copy full SHA for 109628c
View code at this point
Browse repository at this point
Add support for julia hooks
Show description for 85783bd
fredrikekre
authored and
asottile
committed
85783bd
View commit details
Copy full SHA for 85783bd
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.