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 }}
mtdev2
pre-commit
Repository navigation
Code
Issues
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
pre-commit
pre_commit
git.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 4, 2022
GIT_HTTP_PROXY_AUTHMETHOD kept in env variables
vincentberthier
authored
07f4415
View commit details
Copy full SHA for 07f4415
View code at this point
Browse repository at this point
Commits on Jan 18, 2022
drop python 3.6 support
Show description for 04de6a2
asottile
committed
04de6a2
View commit details
Copy full SHA for 04de6a2
View code at this point
Browse repository at this point
Commits on Nov 23, 2021
support gitconfig from env
Show description for 4eb91cd
emzeat
authored and
asottile
committed
4eb91cd
View commit details
Copy full SHA for 4eb91cd
View code at this point
Browse repository at this point
Commits on Sep 14, 2021
fix pre-commit autoupdate for core.useBuiltinFSMonitor=true on windows
asottile
committed
ab94dd6
View commit details
Copy full SHA for ab94dd6
View code at this point
Browse repository at this point
Commits on Aug 10, 2021
fall back to full diff on disparate histories
asottile
committed
0fe959d
View commit details
Copy full SHA for 0fe959d
View code at this point
Browse repository at this point
Commits on Feb 24, 2021
Fix pre-commit install on subst drives
asottile
committed
f9fbe18
View commit details
Copy full SHA for f9fbe18
View code at this point
Browse repository at this point
Commits on Jan 27, 2021
fix execution in worktrees in subdirectories of bare repositories
asottile
committed
f75fc6b
View commit details
Copy full SHA for f75fc6b
View code at this point
Browse repository at this point
Commits on Dec 7, 2020
git: changed rev-parse option for Git 2.25 changes to --show-toplevel
Show description for 29d15de
mrogaski
authored and
asottile
committed
29d15de
View commit details
Copy full SHA for 29d15de
View code at this point
Browse repository at this point
Commits on Nov 28, 2020
don't crash on cygwin mismatch check
asottile
committed
8cfe8e5
View commit details
Copy full SHA for 8cfe8e5
View code at this point
Browse repository at this point
Commits on Nov 20, 2020
Improve performance by ignoring submodules
Show description for 120d602
Michael Vincent
committed
120d602
View commit details
Copy full SHA for 120d602
View code at this point
Browse repository at this point
Commits on Oct 28, 2020
Replace EnvironT with MutableMapping[str, str]
asottile
committed
24dfeed
View commit details
Copy full SHA for 24dfeed
View code at this point
Browse repository at this point
Commits on Sep 20, 2020
check cygwin mismatch earlier
asottile
committed
91530f1
View commit details
Copy full SHA for 91530f1
View code at this point
Browse repository at this point
Commits on Jun 9, 2020
prevent infinite recursion of post-checkout on clone
asottile
committed
6ee9e13
View commit details
Copy full SHA for 6ee9e13
View code at this point
Browse repository at this point
Commits on Feb 23, 2020
Make more readable --from-ref / --to-ref aliases for --source / --origin
asottile
committed
d35b003
View commit details
Copy full SHA for d35b003
View code at this point
Browse repository at this point
Commits on Jan 21, 2020
exclude GIT_SSL_NO_VERIFY env variable from getting stripped
schiermike
authored and
asottile
committed
d9800ad
View commit details
Copy full SHA for d9800ad
View code at this point
Browse repository at this point
Commits on Jan 13, 2020
More miscellaneous cleanup
asottile
committed
df40e86
View commit details
Copy full SHA for df40e86
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
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 30, 2019
Allow try-repo to work on bare repositories
asottile
committed
968b2fd
View commit details
Copy full SHA for 968b2fd
View code at this point
Browse repository at this point
Commits on Dec 26, 2019
Add GIT_SSL_CAINFO environment variable to whitelist.
Show description for 8c93896
Ivan Gankevich
committed
8c93896
View commit details
Copy full SHA for 8c93896
View code at this point
Browse repository at this point
Commits on Oct 6, 2019
Split out cmd_output_b
asottile
committed
f612aeb
View commit details
Copy full SHA for f612aeb
View code at this point
Browse repository at this point
Commits on Jul 20, 2019
Fix autoupdate to always use non-shallow clone
asottile
committed
73250ff
View commit details
Copy full SHA for 73250ff
View code at this point
Browse repository at this point
Commits on Mar 22, 2019
Run pre-commit autoupdate
Show description for dc28922
asottile
committed
dc28922
View commit details
Copy full SHA for dc28922
View code at this point
Browse repository at this point
Commits on Mar 18, 2019
Fix try-repo for staged untracked changes
DanielChabrowski
committed
888787f
View commit details
Copy full SHA for 888787f
View code at this point
Browse repository at this point
Commits on Mar 17, 2019
Added test for git.no_git_env().
Show description for f5af95c
javabrett
committed
f5af95c
View commit details
Copy full SHA for f5af95c
View code at this point
Browse repository at this point
Commits on Feb 16, 2019
respect GIT_EXEC_PATH env
Show description for 9cde231
minrk
committed
9cde231
View commit details
Copy full SHA for 9cde231
View code at this point
Browse repository at this point
Commits on Feb 15, 2019
pass GIT_SSH_COMMAND to git commands, refs #947
benbariteau
committed
db04d61
View commit details
Copy full SHA for db04d61
View code at this point
Browse repository at this point
Commits on Jan 8, 2019
Fix staged-files-only for `git add --intent-to-add` files
asottile
committed
e60579d
View commit details
Copy full SHA for e60579d
View code at this point
Browse repository at this point
Commits on Jan 1, 2019
Teach pre-commit try-repo to clone uncommitted changes
asottile
committed
bdc58cc
View commit details
Copy full SHA for bdc58cc
View code at this point
Browse repository at this point
Commits on Dec 27, 2018
Remove stateful Runner
asottile
committed
fe409f1
View commit details
Copy full SHA for fe409f1
View code at this point
Browse repository at this point
Commits on Sep 22, 2018
Fix rev-parse for older git versions
asottile
committed
18b6f4b
View commit details
Copy full SHA for 18b6f4b
View code at this point
Browse repository at this point
Commits on Aug 10, 2018
Fix several ResourceWarning: unclosed file
Mickaël Schoentgen
committed
67d6fcb
View commit details
Copy full SHA for 67d6fcb
View code at this point
Browse repository at this point
Commits on Aug 6, 2018
Support `pre-commit install` inside a worktree
asottile
committed
3f78487
View commit details
Copy full SHA for 3f78487
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.