Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
DavidSSL
pre-commit
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
pre-commit
pre_commit
resources
on
handroll-node-env
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 7, 2021
add support for R via renv
lorenzwalthert
authored and
asottile
committed
f150211
View commit details
Copy full SHA for f150211
View code at this point
Browse repository at this point
Commits on Feb 25, 2021
Add support for Go 1.16
Show description for fe1f56c
rafikdraoui
committed
fe1f56c
View commit details
Copy full SHA for fe1f56c
View code at this point
Browse repository at this point
Commits on Sep 23, 2020
update rbenv / ruby-build
thromera
authored and
asottile
committed
3665358
View commit details
Copy full SHA for 3665358
View code at this point
Browse repository at this point
Commits on May 2, 2020
Add dummy go.mod for local "empty" installs
scop
committed
e2ed732
View commit details
Copy full SHA for e2ed732
View code at this point
Browse repository at this point
Commits on Feb 1, 2020
Add perl additional dependencies test
scop
committed
04471f7
View commit details
Copy full SHA for 04471f7
View code at this point
Browse repository at this point
Commits on Jan 22, 2020
Move most of the actual hook script into `pre-commit hook-impl`
asottile
committed
95b8d71
View commit details
Copy full SHA for 95b8d71
View code at this point
Browse repository at this point
Commits on Jan 16, 2020
Move test to install_uninstall test so environment variables apply
asottile
committed
0bb8a8f
View commit details
Copy full SHA for 0bb8a8f
View code at this point
Browse repository at this point
Push remote env var details
David Martinez Barreiro
authored and
asottile
committed
57cc814
View commit details
Copy full SHA for 57cc814
View code at this point
Browse repository at this point
Commits on Jan 12, 2020
Some manual .format() -> f-strings
asottile
committed
9000e9d
View commit details
Copy full SHA for 9000e9d
View code at this point
Browse repository at this point
Clean up calls to .encode() / .decode()
asottile
committed
aefbe71
View commit details
Copy full SHA for aefbe71
View code at this point
Browse repository at this point
Add types to pre-commit
asottile
committed
327ed92
View commit details
Copy full SHA for 327ed92
View code at this point
Browse repository at this point
mypy passes with check_untyped_defs
asottile
committed
fa536a8
View commit details
Copy full SHA for fa536a8
View code at this point
Browse repository at this point
upgrade hooks, pyupgrade pre-commit
asottile
committed
30c1e82
View commit details
Copy full SHA for 30c1e82
View code at this point
Browse repository at this point
Commits on Dec 27, 2019
support pre-merge-commit
asottile
committed
c699e25
View commit details
Copy full SHA for c699e25
View code at this point
Browse repository at this point
Commits on Dec 21, 2019
Support for conda as a language
xhochy
authored and
asottile
committed
4ff23b4
View commit details
Copy full SHA for 4ff23b4
View code at this point
Browse repository at this point
Commits on Oct 28, 2019
Added new versions of rbenv and ruby-build
John Cooper
committed
1bd745e
View commit details
Copy full SHA for 1bd745e
View code at this point
Browse repository at this point
Commits on May 13, 2019
Fix handling of SIGINT in hook script
asottile
committed
fb15fa6
View commit details
Copy full SHA for fb15fa6
View code at this point
Browse repository at this point
Commits on Apr 21, 2019
Adds support for prepare-commit-msg hooks
Show description for e60f541
mjay-taskize
committed
e60f541
View commit details
Copy full SHA for e60f541
View code at this point
Browse repository at this point
Commits on Mar 30, 2019
Merge pull request #981 from tristan0x/fix/infinite-process-recursion
Show description for 03ac3b0
asottile
authored
03ac3b0
View commit details
Copy full SHA for 03ac3b0
View code at this point
Browse repository at this point
Produce slightly more helpful message
asottile
committed
bbc3130
View commit details
Copy full SHA for bbc3130
View code at this point
Browse repository at this point
Specify env python explicitly.
tim77
committed
9f0cfed
View commit details
Copy full SHA for 9f0cfed
View code at this point
Browse repository at this point
Commits on Mar 29, 2019
assert that the pre-commit script being executed is not the legacy
Tristan Carel
committed
ec72cb7
View commit details
Copy full SHA for ec72cb7
View code at this point
Browse repository at this point
Commits on Mar 27, 2019
Do not run legacy script again when this is the one being executed
Tristan Carel
committed
cd61269
View commit details
Copy full SHA for cd61269
View code at this point
Browse repository at this point
Commits on Oct 14, 2018
Replace resources with importlib_resources
asottile
committed
9f60561
View commit details
Copy full SHA for 9f60561
View code at this point
Browse repository at this point
Commits on Oct 11, 2018
fix pushing to new branch not identifying all commits
asottile
committed
3181b46
View commit details
Copy full SHA for 3181b46
View code at this point
Browse repository at this point
Commits on Jul 24, 2018
Work around sys.executable issue using brew python on macos
Show description for 7e69d11
asottile
committed
7e69d11
View commit details
Copy full SHA for 7e69d11
View code at this point
Browse repository at this point
Commits on Jul 2, 2018
Fix force-push without fetch
asottile
committed
c294be5
View commit details
Copy full SHA for c294be5
View code at this point
Browse repository at this point
Commits on May 25, 2018
Make local hooks work
chriskuehl
committed
5ac2ba0
View commit details
Copy full SHA for 5ac2ba0
View code at this point
Browse repository at this point
Commits on Feb 4, 2018
Rewrite the hook template in python
asottile
committed
5c90c1a
View commit details
Copy full SHA for 5c90c1a
View code at this point
Browse repository at this point
Commits on Jan 30, 2018
Fix legacy commit-msg hooks
asottile
committed
49dc689
View commit details
Copy full SHA for 49dc689
View code at this point
Browse repository at this point
Commits on Jan 24, 2018
Properly detect if commit is a root commit
Show description for 1bfd108
samskiter
authored
1bfd108
View commit details
Copy full SHA for 1bfd108
View code at this point
Browse repository at this point
Commits on Sep 21, 2017
Use some bash best practices and simplify hook template
asottile
committed
916ca72
View commit details
Copy full SHA for 916ca72
View code at this point
Browse repository at this point
Use pipes.quote for executable path
asottile
committed
873dd17
View commit details
Copy full SHA for 873dd17
View code at this point
Browse repository at this point
Commits on Sep 5, 2017
Merge pull request #606 from pre-commit/minor-hook-tmpl-fixups
Show description for bfa23f1
asottile
authored
bfa23f1
View commit details
Copy full SHA for bfa23f1
View code at this point
Browse repository at this point
Fix error message during pre-push / commit-msg
asottile
committed
7c59607
View commit details
Copy full SHA for 7c59607
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.