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 }}
gitpython-developers
GitPython
Repository navigation
Code
Issues
1
(1)
Pull requests
Discussions
Actions
Security and quality
42
(42)
Insights
More
items
Commits
Breadcrumbs
History for
GitPython
git
util.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 16, 2026
typing: introduce sensible basedpyright defaults
Show description for 6d0b6a4
Byron
committed
6d0b6a4
View commit details
Copy full SHA for 6d0b6a4
View code at this point
Browse repository at this point
fix: prevent environment expansion in clone URLs
Show description for 8ac5a30
codex
and
Byron
committed
8ac5a30
View commit details
Copy full SHA for 8ac5a30
View code at this point
Browse repository at this point
Commits on Apr 28, 2026
address review feedback and CI failures
Show description for 4af8463
codex
and
Byron
committed
4af8463
View commit details
Copy full SHA for 4af8463
View code at this point
Browse repository at this point
Commits on Nov 29, 2025
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
Merge branch 'main' into true-pathlike
George-Ogden
committed
b5abe0f
View commit details
Copy full SHA for b5abe0f
View code at this point
Browse repository at this point
Remove a large number of redundant fspaths
George-Ogden
committed
df8087a
View commit details
Copy full SHA for df8087a
View code at this point
Browse repository at this point
Use cast to allow silent getattrs
George-Ogden
committed
eb15123
View commit details
Copy full SHA for eb15123
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
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 May 28, 2025
Merge pull request #2026 from gcmarx/main
Show description for 8576534
EliahKagan
authored
8576534
View commit details
Copy full SHA for 8576534
View code at this point
Browse repository at this point
incorporate review feedback from @EliahKagan
gcmarx
committed
f3ab5d3
View commit details
Copy full SHA for f3ab5d3
View code at this point
Browse repository at this point
Revert "use `strings` instead of `uname` to detect cygwin"
Show description for 1731c1e
gcmarx
committed
1731c1e
View commit details
Copy full SHA for 1731c1e
View code at this point
Browse repository at this point
Revert "debug printing"
Show description for 58f7710
gcmarx
committed
58f7710
View commit details
Copy full SHA for 58f7710
View code at this point
Browse repository at this point
Commits on May 27, 2025
debug printing
gcmarx
committed
0df0818
View commit details
Copy full SHA for 0df0818
View code at this point
Browse repository at this point
use `strings` instead of `uname` to detect cygwin
gcmarx
committed
c441316
View commit details
Copy full SHA for c441316
View code at this point
Browse repository at this point
Commits on May 22, 2025
remove type assertions from util.py
gcmarx
committed
8dc7552
View commit details
Copy full SHA for 8dc7552
View code at this point
Browse repository at this point
turns out f-strings before 3.8 don't support {variable=} notation, take that out
gcmarx
committed
cffa264
View commit details
Copy full SHA for cffa264
View code at this point
Browse repository at this point
it's is_file(), not isfile()
gcmarx
committed
b1289ee
View commit details
Copy full SHA for b1289ee
View code at this point
Browse repository at this point
check that uname_cmd points to a file; if uname_cmd were a directory, it could both exist and have os.X_OK but not work
gcmarx
committed
226f4ff
View commit details
Copy full SHA for 226f4ff
View code at this point
Browse repository at this point
don't keep checking if sys.platform isn't 'cygwin'
gcmarx
committed
3f5a942
View commit details
Copy full SHA for 3f5a942
View code at this point
Browse repository at this point
use pathlib.Path instead of os.path.isfile
gcmarx
committed
7187984
View commit details
Copy full SHA for 7187984
View code at this point
Browse repository at this point
Revert "check for the existence/execute bit on the uname command before trying to run it"
Show description for 58ff723
gcmarx
committed
58ff723
View commit details
Copy full SHA for 58ff723
View code at this point
Browse repository at this point
Commits on May 21, 2025
check for the existence/execute bit on the uname command before trying to run it
gcmarx
committed
de5e57c
View commit details
Copy full SHA for de5e57c
View code at this point
Browse repository at this point
Commits on Jul 17, 2024
Add type of change to files_dict of a commit
Show description for ce8a69a
JonasScharpf
committed
ce8a69a
View commit details
Copy full SHA for ce8a69a
View code at this point
Browse repository at this point
Commits on Mar 31, 2024
Fix typo in _get_exe_extensions PATHEXT fallback
Show description for 988d97b
EliahKagan
committed
988d97b
View commit details
Copy full SHA for 988d97b
View code at this point
Browse repository at this point
Commits on Mar 28, 2024
Use the :exc: Sphinx role for DeprecationWarning
Show description for 21c2b72
EliahKagan
committed
21c2b72
View commit details
Copy full SHA for 21c2b72
View code at this point
Browse repository at this point
Commits on Mar 19, 2024
Fix a tiny import sorting nit
EliahKagan
committed
abbe74d
View commit details
Copy full SHA for abbe74d
View code at this point
Browse repository at this point
Make F401 "unused import" suppressions more specific
Show description for 6318eea
EliahKagan
committed
6318eea
View commit details
Copy full SHA for 6318eea
View code at this point
Browse repository at this point
Commits on Mar 18, 2024
Improve how imports and __all__ are written in git.util
Show description for a05597a
EliahKagan
committed
a05597a
View commit details
Copy full SHA for a05597a
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
Use :const: for constants that had the :attr: role
Show description for 8543457
EliahKagan
committed
8543457
View commit details
Copy full SHA for 8543457
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
Make some broad mypy suppressions more specific
Show description for b070e93
EliahKagan
committed
b070e93
View commit details
Copy full SHA for b070e93
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.