pygit2 1.0.0 發布了。pygit2 是一組 libgit2 共享庫的 Python 綁定,libgit2 是 Git 核心方法的純 C 實現,作為具有可靠 API 的可鏈接庫提供,允許在應用程序中構建 Git 功能。
此版本主要變更內容包括:
Branch.raw_branch_name
。Index.remove_all()
。Remote.ls_remotes(..)
。Repository.lookup_reference_dwim(..)
與 Repository.resolve_refish(..)
。Repository.odb
返回新的 Odb
類型實例。新增 OdbBackend
類型。Repository.references.compress()
。詳情查看更新日誌:
[admin
]