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 }}
githubdelegate
GitPython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
GitPython
lib
git
cmd.py
on
0.2
User selector
All users
Datepicker
All time
Commit history
Commits on May 12, 2010
Repo: Added comparison operators and hash operator including test
Show description for 600fcbc
Byron
committed
600fcbc
View commit details
Copy full SHA for 600fcbc
View code at this point
Browse repository at this point
Commits on Mar 4, 2010
Converted all tabs to 4 space characters each to comply with pep8
Byron
committed
72bcdbd
View commit details
Copy full SHA for 72bcdbd
View code at this point
Browse repository at this point
Commits on Dec 16, 2009
Added imports for standard locking file classes into the git module
Byron
committed
a38a005
View commit details
Copy full SHA for a38a005
View code at this point
Browse repository at this point
Commits on Dec 3, 2009
repo: renamed directories to more descriptive identifiers and made them safer to use in case of bare repositories
Byron
committed
c05ef0e
View commit details
Copy full SHA for c05ef0e
View code at this point
Browse repository at this point
repo: fixed incorrect path handling thta could lead to issues if the repository was initialized with a .git repository, although it was not bare actually
Byron
committed
1eae9d1
View commit details
Copy full SHA for 1eae9d1
View code at this point
Browse repository at this point
Commits on Nov 26, 2009
SymbolicReferences can now be at any path within the repository, there is no restriction anymore.
Show description for aaeb986
Byron
committed
aaeb986
View commit details
Copy full SHA for aaeb986
View code at this point
Browse repository at this point
Commits on Nov 5, 2009
fixed test_repo to work on windows
Show description for d9671e1
Byron
committed
d9671e1
View commit details
Copy full SHA for d9671e1
View code at this point
Browse repository at this point
cmd: added clear_cache method now used by test repo decorators to be sure persistent commands are killed before trying to remove the directory. Unfortunately, it still claims someone has opened the…
Show description for 46c9a0d
Byron
committed
46c9a0d
View commit details
Copy full SHA for 46c9a0d
View code at this point
Browse repository at this point
git cmd on windows now runs without the shell, see diff for explanation
Byron
committed
a67bf61
View commit details
Copy full SHA for a67bf61
View code at this point
Browse repository at this point
Fixed windows TASKKILL so it actually does something *silently*
Byron
committed
5593dc0
View commit details
Copy full SHA for 5593dc0
View code at this point
Browse repository at this point
Commits on Nov 4, 2009
Improved cmd error handling in case an invalid revision is specified for an object
Show description for f41d42e
Byron
committed
f41d42e
View commit details
Copy full SHA for f41d42e
View code at this point
Browse repository at this point
Commits on Oct 26, 2009
cmd.wait: AutoKill wrapped process will automatically raise on errors to unify error handling amongst clients using the process directly. It might be needed to add a flag allowing to easily overrid…
Show description for 78a46c4
Byron
committed
78a46c4
View commit details
Copy full SHA for 78a46c4
View code at this point
Browse repository at this point
Commits on Oct 22, 2009
git cmd fix: After removing the with_raw_output flag, I actually did the wrong thing by _not_ stripping the final newline at the end of all git commands we use. This is the default now which cannot…
Show description for c53eeac
Byron
committed
c53eeac
View commit details
Copy full SHA for c53eeac
View code at this point
Browse repository at this point
Stream_data streams data to a given output stream most efficiently with a low memory footprint.
Show description for 4fe5cfa
Byron
committed
4fe5cfa
View commit details
Copy full SHA for 4fe5cfa
View code at this point
Browse repository at this point
Git.cmd: removed with_raw_output option
Show description for f62c9b9
Byron
committed
f62c9b9
View commit details
Copy full SHA for f62c9b9
View code at this point
Browse repository at this point
added Object.data_stream property allowing to stream object data directly.Considering the implementation of the git commnd which temporarily keeps it in a cache, it doesnt make a huge diffence as t…
Show description for 33fa178
Byron
committed
33fa178
View commit details
Copy full SHA for 33fa178
View code at this point
Browse repository at this point
Commits on Oct 21, 2009
remote: Added fetch, pull, push methods to the interface to make these operations more convenient, like repo.remotes.origin.fetch
Byron
committed
3c9f55d
View commit details
Copy full SHA for 3c9f55d
View code at this point
Browse repository at this point
Commits on Oct 20, 2009
Moved specialized methods like dashify, touch and is_git_dir to module to the respective modules that use them
Show description for aa5e366
Byron
committed
aa5e366
View commit details
Copy full SHA for aa5e366
View code at this point
Browse repository at this point
Commits on Oct 15, 2009
Improved archive function by allowing it to directly write to an output stream - previously it would cache everything to memory and try to provide zipping functionality itself
Show description for b67bd4c
Byron
committed
b67bd4c
View commit details
Copy full SHA for b67bd4c
View code at this point
Browse repository at this point
repo: removed a few methods because of redundancy or because it will be obsolete once the interface overhaul is finished. This commit is just intermediate
Byron
committed
2da2b90
View commit details
Copy full SHA for 2da2b90
View code at this point
Browse repository at this point
Commits on Oct 14, 2009
persistent command signature changed to also return the hexsha from a possible input ref - the objects pointed to by refs are now baked on demand - perhaps it should change to always be re-retrieve…
Show description for c5df444
Byron
committed
c5df444
View commit details
Copy full SHA for c5df444
View code at this point
Browse repository at this point
Implemented git command facility to keep persistent commands for fast object information retrieval
Byron
committed
a28d3d1
View commit details
Copy full SHA for a28d3d1
View code at this point
Browse repository at this point
cmd: added option to return the process directly, allowing to read the output directly from the output stream
Show description for ead94f2
Byron
committed
ead94f2
View commit details
Copy full SHA for ead94f2
View code at this point
Browse repository at this point
Commits on Oct 11, 2009
converted all spaces to tabs ( 4 spaces = 1 tab ) just to allow me and my editor to work with the files properly. Can convert it back for releaes
Byron
committed
9374a91
View commit details
Copy full SHA for 9374a91
View code at this point
Browse repository at this point
Commits on Oct 9, 2009
finished cleaning usage of regular expressions - they are now precompiled
Byron
committed
9c0c2fc
View commit details
Copy full SHA for 9c0c2fc
View code at this point
Browse repository at this point
Commits on Oct 8, 2009
Merge branch 'doc_enhancements' into fixes
Byron
committed
b0e84a3
View commit details
Copy full SHA for b0e84a3
View code at this point
Browse repository at this point
Added docs for the error module
Byron
committed
451561c
View commit details
Copy full SHA for 451561c
View code at this point
Browse repository at this point
improved git.cmd documentation
Byron
committed
8496831
View commit details
Copy full SHA for 8496831
View code at this point
Browse repository at this point
git.git.Git.__init__ takes None as default argument as the execute method handles this correctly
Byron
committed
5915114
View commit details
Copy full SHA for 5915114
View code at this point
Browse repository at this point
Commits on Jan 24, 2009
Lots of spring cleaning and added in Sphinx documentation.
empty
committed
c76852d
View commit details
Copy full SHA for c76852d
View code at this point
Browse repository at this point
Commits on Aug 11, 2008
use shell=True in windows (git.exe needs to be on %PATH%)
Show description for cf37099
apollo13
committed
cf37099
View commit details
Copy full SHA for cf37099
View code at this point
Browse repository at this point
Commits on Jul 17, 2008
Removed method_missing since it was only used in one place.
empty
committed
c04c60f
View commit details
Copy full SHA for c04c60f
View code at this point
Browse repository at this point
Added license information to all files.
empty
committed
bfdf98c
View commit details
Copy full SHA for bfdf98c
View code at this point
Browse repository at this point
Commits on Jun 24, 2008
fixed http://groups.google.com/group/git-python/browse_thread/thread/b8f3580abf31f9db?hl=en# and passed Git a working_tree again (sort of).
apollo13
committed
990d1fe
View commit details
Copy full SHA for 990d1fe
View code at this point
Browse repository at this point
Commits on Jun 21, 2008
continued yesterdays work on the execute stuff
apollo13
committed
c63cd98
View commit details
Copy full SHA for c63cd98
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.