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
index
util.py
on
fix-ci
User selector
All users
All time
Commit history
Commits on Nov 29, 2025
Fix type hints
George-Ogden
committed
8434967
View commit details
Copy full SHA for 8434967
View code at this point
Browse repository at this point
Validate every fspath with tests
George-Ogden
committed
12e15ba
View commit details
Copy full SHA for 12e15ba
View code at this point
Browse repository at this point
Use converted file path
Show description for b3908ed
George-Ogden
and
Copilot
authored
b3908ed
View commit details
Copy full SHA for b3908ed
View code at this point
Browse repository at this point
Commits on Nov 28, 2025
Convert paths in constructors and large function calls
George-Ogden
committed
3801505
View commit details
Copy full SHA for 3801505
View code at this point
Browse repository at this point
Replace extra occurrences of str with fspath
George-Ogden
committed
0414bf7
View commit details
Copy full SHA for 0414bf7
View code at this point
Browse repository at this point
Commits on Mar 19, 2024
Pick a consistent type for __all__ (for now, list)
Show description for 78055a8
EliahKagan
committed
78055a8
View commit details
Copy full SHA for 78055a8
View code at this point
Browse repository at this point
Commits on Mar 18, 2024
Improve relative order of import groups, and __all__, in git.index
EliahKagan
committed
1c9bda2
View commit details
Copy full SHA for 1c9bda2
View code at this point
Browse repository at this point
Commits on Feb 26, 2024
Further revise post_clear_cache docstring
Show description for 37421e1
EliahKagan
committed
37421e1
View commit details
Copy full SHA for 37421e1
View code at this point
Browse repository at this point
Rewrite post_clear_cache note
Show description for ca2ab61
EliahKagan
committed
ca2ab61
View commit details
Copy full SHA for ca2ab61
View code at this point
Browse repository at this point
Revise docstrings within git.index
Show description for 8ec7e32
EliahKagan
committed
8ec7e32
View commit details
Copy full SHA for 8ec7e32
View code at this point
Browse repository at this point
Commits on Dec 25, 2023
Fix mypy warning "Missing return statement"
Show description for e194d46
EliahKagan
committed
e194d46
View commit details
Copy full SHA for e194d46
View code at this point
Browse repository at this point
Commits on Dec 21, 2023
Refactor TemporaryFileSwap.__init__ for clarity
Show description for b438c45
EliahKagan
committed
b438c45
View commit details
Copy full SHA for b438c45
View code at this point
Browse repository at this point
Fix TemporaryFileSwap bug when file_path is a Path
Show description for 1ddf953
EliahKagan
committed
1ddf953
View commit details
Copy full SHA for 1ddf953
View code at this point
Browse repository at this point
Commits on Dec 13, 2023
Replace the one use of mktemp in the git module
Show description for 9e86053
EliahKagan
committed
9e86053
View commit details
Copy full SHA for 9e86053
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
Merge pull request #1732 from EliahKagan/compat
Show description for d5d897c
Byron
authored
d5d897c
View commit details
Copy full SHA for d5d897c
View code at this point
Browse repository at this point
Commits on Nov 4, 2023
Deprecate compat.is_<platform>, rewriting all uses
Show description for c01fe76
EliahKagan
committed
c01fe76
View commit details
Copy full SHA for c01fe76
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 Oct 22, 2023
Remove explicit inheritance from object
Show description for f78587f
EliahKagan
committed
f78587f
View commit details
Copy full SHA for f78587f
View code at this point
Browse repository at this point
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 Jul 7, 2023
Don't rely on __del__
r-darwish
committed
8186159
View commit details
Copy full SHA for 8186159
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 Jul 8, 2021
Finish initial typing of index folder
Yobmod
committed
5d3818e
View commit details
Copy full SHA for 5d3818e
View code at this point
Browse repository at this point
Commits on Jul 6, 2021
Make diff.DiffIndex generic List['Diff']
Yobmod
committed
873ebe6
View commit details
Copy full SHA for 873ebe6
View code at this point
Browse repository at this point
Improve types of @unbare_repo and @git_working_dir decorators
Yobmod
committed
6471018
View commit details
Copy full SHA for 6471018
View code at this point
Browse repository at this point
Commits on May 16, 2021
flake8 and mypy fixes
Yobmod
committed
595181d
View commit details
Copy full SHA for 595181d
View code at this point
Browse repository at this point
Add types to index.util.py
Yobmod
committed
f58702b
View commit details
Copy full SHA for f58702b
View code at this point
Browse repository at this point
Commits on Oct 22, 2016
Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ankostis-cygwin
Byron
committed
caa0ea7
View commit details
Copy full SHA for caa0ea7
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 16, 2016
src: import os.path as osp
ankostis
committed
0210e39
View commit details
Copy full SHA for 0210e39
View code at this point
Browse repository at this point
Commits on Oct 2, 2016
RF: use @functools.wraps within decorators instead of manual __name__ reassignment
Show description for 51f4a14
yarikoptic
committed
51f4a14
View commit details
Copy full SHA for 51f4a14
View code at this point
Browse repository at this point
Commits on Sep 27, 2016
src, #519: collect all is_<platform>() calls
ankostis
committed
f495e94
View commit details
Copy full SHA for f495e94
View code at this point
Browse repository at this point
Commits on Nov 19, 2014
Applied autopep8
Show description for 2572647
Byron
committed
2572647
View commit details
Copy full SHA for 2572647
View code at this point
Browse repository at this point
Commits on Nov 16, 2014
pep8 linting (trailing whitespace)
Show description for c8e7074
hashar
committed
c8e7074
View commit details
Copy full SHA for c8e7074
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.