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
Type
/
to 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
.
gitpython-developers
/
GitPython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
988
Star
5.2k
Code
Issues
8
Pull requests
2
Discussions
Actions
Security and quality
31
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
GitPython
git
refs
head.py
on
security-fixes
User selector
All users
All time
Commit history
Commits on Aug 4, 2026
Guard pathspec file inputs in high-level commands
Show description for f2550b6
Byron
and
codex
committed
f2550b6
View commit details
Copy full SHA for f2550b6
View code at this point
Browse repository at this point
Commits on Nov 28, 2025
Fix or ignore all mypy errors
George-Ogden
committed
8469a12
View commit details
Copy full SHA for 8469a12
View code at this point
Browse repository at this point
Commits on Apr 1, 2024
Update the comment about `--mixed` and paths
Show description for 0152b52
EliahKagan
committed
0152b52
View commit details
Copy full SHA for 0152b52
View code at this point
Browse repository at this point
Commits on Mar 18, 2024
Improve order of imports and __all__ in git.refs submodules
EliahKagan
committed
8b51af3
View commit details
Copy full SHA for 8b51af3
View code at this point
Browse repository at this point
Commits on Mar 16, 2024
Use the :exc: role for exceptions
Show description for a957ae7
EliahKagan
committed
a957ae7
View commit details
Copy full SHA for a957ae7
View code at this point
Browse repository at this point
Commits on Mar 15, 2024
Use Sphinx manpage references where applicable
Show description for d8ab99c
EliahKagan
committed
d8ab99c
View commit details
Copy full SHA for d8ab99c
View code at this point
Browse repository at this point
Commits on Mar 14, 2024
Merge branch 'main' into doc-types
EliahKagan
committed
0b99041
View commit details
Copy full SHA for 0b99041
View code at this point
Browse repository at this point
Commits on Mar 11, 2024
Fix remaining old Commit_ish annotations in git.refs
Show description for ab27827
EliahKagan
committed
ab27827
View commit details
Copy full SHA for ab27827
View code at this point
Browse repository at this point
Commits on Mar 10, 2024
Temporarily rename Commit_ish to Old_commit_ish
Show description for 04a2753
EliahKagan
committed
04a2753
View commit details
Copy full SHA for 04a2753
View code at this point
Browse repository at this point
Commits on Mar 8, 2024
Fix how HEAD annotates inherited commit property
Show description for f1cc1fe
EliahKagan
committed
f1cc1fe
View commit details
Copy full SHA for f1cc1fe
View code at this point
Browse repository at this point
Commits on Mar 5, 2024
Add return-type annotation on __init__ methods
Show description for 5d7e55b
EliahKagan
committed
5d7e55b
View commit details
Copy full SHA for 5d7e55b
View code at this point
Browse repository at this point
Commits on Feb 29, 2024
More docstring revisions within git.refs
EliahKagan
committed
254c82a
View commit details
Copy full SHA for 254c82a
View code at this point
Browse repository at this point
Commits on Feb 27, 2024
Revise docstrings within git.refs
EliahKagan
committed
d1d18c2
View commit details
Copy full SHA for d1d18c2
View code at this point
Browse repository at this point
Commits on Nov 6, 2023
Revise and restore some module docstrings
Show description for aed3b59
EliahKagan
committed
aed3b59
View commit details
Copy full SHA for aed3b59
View code at this point
Browse repository at this point
Commits on Nov 3, 2023
Make comments more consistent and clarify license
Show description for 454032c
EliahKagan
committed
454032c
View commit details
Copy full SHA for 454032c
View code at this point
Browse repository at this point
Commits on Nov 2, 2023
Use zero-argument super() where applicable
Show description for a47e46d
EliahKagan
committed
a47e46d
View commit details
Copy full SHA for a47e46d
View code at this point
Browse repository at this point
Commits on Oct 30, 2023
Shorten some docstring references with tilde notation
Show description for a040edb
EliahKagan
committed
a040edb
View commit details
Copy full SHA for a040edb
View code at this point
Browse repository at this point
Commits on Oct 22, 2023
Revise docstrings and comments for clarity and formatting
Show description for cd16a35
EliahKagan
committed
cd16a35
View commit details
Copy full SHA for cd16a35
View code at this point
Browse repository at this point
Commits on May 18, 2022
reformat according to 'black' configuration file.
Byron
committed
e530544
View commit details
Copy full SHA for e530544
View code at this point
Browse repository at this point
Commits on May 17, 2022
Run everything through 'black'
Show description for 21ec529
Byron
committed
21ec529
View commit details
Copy full SHA for 21ec529
View code at this point
Browse repository at this point
Commits on Sep 20, 2021
Fix typing issues with delete_head and Remote.add
Show description for 5f4b4db
rra
committed
5f4b4db
View commit details
Copy full SHA for 5f4b4db
View code at this point
Browse repository at this point
Commits on Jul 31, 2021
Add type to refs.head.delete()
Yobmod
committed
ef48a35
View commit details
Copy full SHA for ef48a35
View code at this point
Browse repository at this point
Add type to symbolicreference.references()
Yobmod
committed
3be955e
View commit details
Copy full SHA for 3be955e
View code at this point
Browse repository at this point
Add type to symbolicreference.reference()
Yobmod
committed
13b38ce
View commit details
Copy full SHA for 13b38ce
View code at this point
Browse repository at this point
Commits on Jul 28, 2021
Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck
Yobmod
committed
adc00dd
View commit details
Copy full SHA for adc00dd
View code at this point
Browse repository at this point
Fix SymbolicReference reference typing
Yobmod
committed
28fdd30
View commit details
Copy full SHA for 28fdd30
View code at this point
Browse repository at this point
Commits on Jul 19, 2021
Add types to refs/head.py
Yobmod
committed
8fc25c6
View commit details
Copy full SHA for 8fc25c6
View code at this point
Browse repository at this point
Commits on Jul 5, 2021
Make bytesIO forwardref
Yobmod
committed
c2317a7
View commit details
Copy full SHA for c2317a7
View code at this point
Browse repository at this point
Commits on Jun 30, 2021
Type Traversable.traverse() better, start types of submodule
Yobmod
committed
82b131c
View commit details
Copy full SHA for 82b131c
View code at this point
Browse repository at this point
Commits on Oct 15, 2019
removed Unnecessary “else” after “return”
pratik-anurag
authored and
Byron
committed
64b85ee
View commit details
Copy full SHA for 64b85ee
View code at this point
Browse repository at this point
Commits on Mar 18, 2018
Rewrite unnecessary dict/list/tuple calls as literals
hugovk
committed
ac4f7d3
View commit details
Copy full SHA for ac4f7d3
View code at this point
Browse repository at this point
Commits on Dec 8, 2016
fix(refs): handle quoted branch names
Show description for f21630b
Byron
committed
f21630b
View commit details
Copy full SHA for f21630b
View code at this point
Browse repository at this point
Commits on Oct 20, 2016
Fix some typos
bryant1410
committed
66c41eb
View commit details
Copy full SHA for 66c41eb
View code at this point
Browse repository at this point
Commits on Oct 4, 2016
io: Wrap (probably) allconfig_writers in `with` blocks
ankostis
committed
8a2f7dc
View commit details
Copy full SHA for 8a2f7dc
View code at this point
Browse repository at this point
Commits on Sep 11, 2016
fix(Head): checkout() handles detached head
Show description for 06c9c91
Byron
committed
06c9c91
View commit details
Copy full SHA for 06c9c91
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.