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
refs.py
on
0.2
User selector
All users
Datepicker
All time
Commit history
Commits on May 10, 2010
repo: added test with some basic assertions for empty repositories these
Show description for 837c32b
Byron
committed
837c32b
View commit details
Copy full SHA for 837c32b
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 15, 2009
refs: Added is_valid method to SymbolicReference base class
Byron
committed
b1a2271
View commit details
Copy full SHA for b1a2271
View code at this point
Browse repository at this point
Commits on Dec 7, 2009
Reference: reading of commit data is now safer and handles non-existing paths - previously it would run into a code-branch I forgot
Byron
committed
f6102b3
View commit details
Copy full SHA for f6102b3
View code at this point
Browse repository at this point
Commits on Dec 4, 2009
SymbolicRefence base is now fully aware of pack files in all operations.
Show description for ac4133f
Byron
committed
ac4133f
View commit details
Copy full SHA for ac4133f
View code at this point
Browse repository at this point
refs: Fixed incorrect retrieval of symbolic reference types - previously we only really knew heads, now we know references as a common base. The adjustment make the ref system as flexible as it was…
Show description for 8e29a91
Byron
committed
8e29a91
View commit details
Copy full SHA for 8e29a91
View code at this point
Browse repository at this point
SymbolicReference creation now won't fail if the target already exists and has the same content as the new reference
Byron
committed
e4ed59a
View commit details
Copy full SHA for e4ed59a
View code at this point
Browse repository at this point
Commits on Dec 3, 2009
refs.rename: improved handling as it will only raise ( if not forced ) if the destination contains different data. If it contains the same, the move will work as we can do what the user intended
Byron
committed
4e72942
View commit details
Copy full SHA for 4e72942
View code at this point
Browse repository at this point
refs: Implemented low-level (Symbolic)Reference renaming as some references cannot be reamed using the git-branch command if they are not in refs/heads, that is in a non-standard refs folder
Byron
committed
12276fe
View commit details
Copy full SHA for 12276fe
View code at this point
Browse repository at this point
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
Commits on Nov 30, 2009
SymbolicReference.delete: Now takes SymbolicReference instances as well, not only paths
Show description for f22ddca
Byron
committed
f22ddca
View commit details
Copy full SHA for f22ddca
View code at this point
Browse repository at this point
Generalized custom reference creation down to SymbolicReference level. 'Reference' implementation now shares all the code from the SymbolicReference base. This implementation allows to create any r…
Show description for bac518b
Byron
committed
bac518b
View commit details
Copy full SHA for bac518b
View code at this point
Browse repository at this point
ref: Added general method to create and delete any reference pointing to any object. They are only constrained to be located in the refs/ directory
Byron
committed
4f7255c
View commit details
Copy full SHA for 4f7255c
View code at this point
Browse repository at this point
Commits on Nov 26, 2009
SymbolicReference is now the base for all references, allowing them to appear litereally anywhere. A 'default' reference is nothing more than a detached symbolic reference.
Show description for fa98250
Byron
committed
fa98250
View commit details
Copy full SHA for fa98250
View code at this point
Browse repository at this point
Initially put SymbolicRef as base class of Reference, which theoretically is how it should be, but many tests are still failing as the implementation is not yet there
Byron
committed
0d638bf
View commit details
Copy full SHA for 0d638bf
View code at this point
Browse repository at this point
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
Added utilities helping to create proper paths either with slashes or backslashes depending on the operating system
Show description for 9ee861a
Byron
committed
9ee861a
View commit details
Copy full SHA for 9ee861a
View code at this point
Browse repository at this point
Commits on Nov 4, 2009
head.checkout method added including test
Byron
committed
ace1fed
View commit details
Copy full SHA for ace1fed
View code at this point
Browse repository at this point
added all new files to reference.rst and corrected the worst mistakes. There are still a few errors left that I cannot fix as it complains about whitespace in the end ... that is exactly what I hat…
Show description for 4748e81
Byron
committed
4748e81
View commit details
Copy full SHA for 4748e81
View code at this point
Browse repository at this point
Commits on Nov 3, 2009
refs: iter_items now imlemented natively for additional performance. We did not implement the crazy sorting feature found in git-for-each-ref though
Byron
committed
43ab2af
View commit details
Copy full SHA for 43ab2af
View code at this point
Browse repository at this point
Reference.from_path now only creates references, not symbolic refs. SymbolicReference.from_path creates only symbolic refs. This change was not detected by a test, hence there is room for improveme…
Show description for 9b42689
Byron
committed
9b42689
View commit details
Copy full SHA for 9b42689
View code at this point
Browse repository at this point
Now using git-update-ref and git-symbolic-ref to update references with reflog support. This should be manually implemented though for more performance, what it does is relatively easy
Byron
committed
572ace0
View commit details
Copy full SHA for 572ace0
View code at this point
Browse repository at this point
object: renamed id attribute to sha as it in fact is always being rewritten as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare corre…
Show description for 3cb5ba1
Byron
committed
3cb5ba1
View commit details
Copy full SHA for 3cb5ba1
View code at this point
Browse repository at this point
repo: added create_* and delete_* methods for refs ( head, tag, remote ) as a convenient shortcut to using the classes manually
Byron
committed
dbc18b9
View commit details
Copy full SHA for dbc18b9
View code at this point
Browse repository at this point
Intermediate commit with a few added and improved tests as well as many fixes
Byron
committed
e70f321
View commit details
Copy full SHA for e70f321
View code at this point
Browse repository at this point
Commits on Oct 27, 2009
renamed remote_branch to remote_head, improved errror message
Byron
committed
764cc6e
View commit details
Copy full SHA for 764cc6e
View code at this point
Browse repository at this point
Reference._from_string will now create the appropriate type, not just the type of the actual class. This could result in a symbolic reference returned even though you technically requested a refere…
Show description for ef592d3
Byron
committed
ef592d3
View commit details
Copy full SHA for ef592d3
View code at this point
Browse repository at this point
put _make_file helper method into TestBase class
Show description for 22757ed
Byron
committed
22757ed
View commit details
Copy full SHA for 22757ed
View code at this point
Browse repository at this point
Commits on Oct 26, 2009
refs.SymoblicRef: implemented direcft setting of the symbolic references commit, which possibly dereferences to the respective head
Byron
committed
0725af7
View commit details
Copy full SHA for 0725af7
View code at this point
Browse repository at this point
Commits on Oct 23, 2009
Refs can now set the reference they are pointing to in a controlled fashion by writing their ref file directly
Byron
committed
9b9776e
View commit details
Copy full SHA for 9b9776e
View code at this point
Browse repository at this point
Added TagRefernce creation and deletion including tests
Show description for 1047b41
Byron
committed
1047b41
View commit details
Copy full SHA for 1047b41
View code at this point
Browse repository at this point
Implemented head methods: create, delete, rename, including tests
Byron
committed
ddc5496
View commit details
Copy full SHA for ddc5496
View code at this point
Browse repository at this point
refs: added create, delete and rename methods where appropriate. Tests are marked, implementation is needed for most of them
Byron
committed
2c23ca3
View commit details
Copy full SHA for 2c23ca3
View code at this point
Browse repository at this point
Added frame for IndexFile add/remove/commit methods and respective test markers
Byron
committed
a7a4388
View commit details
Copy full SHA for a7a4388
View code at this point
Browse repository at this point
Commits on Oct 22, 2009
SymbolicReferences can now change they references safely as I think and well controlled, including test.
Show description for d1bd99c
Byron
committed
d1bd99c
View commit details
Copy full SHA for d1bd99c
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.