pygit2
Installation
Quick install
Requirements
Version numbers
Advanced
Installing on Windows
Installing on OS X
The development version
Unit tests
Coding style: documentation strings
pygit2 Recipes
High Level Commands
General
Version
Options
Exceptions
The repository
Functions
The Repository class
Object IDs
The three forms of an object id
The Oid type
Constants
Git Objects
Object lookup
The Object base type
Blobs
Trees
Commits
Tags
Custom backends
Blame
The Blame type
The BlameHunk type
Constants
Configuration files
The Config type
The ConfigEntry type
Diff
The Diff type
The Patch type
The DiffDelta type
The DiffFile type
The DiffHunk type
The DiffStats type
The DiffLine type
Feature detection
Commit log
Mailmap
Merge & Cherrypick
The merge method
Cherrypick
Lower-level methods
References
Functions
The Reference type
The HEAD
Branches
The Branch type
The reference log
Notes
Remotes
The remote collection
The Remote type
The RemoteCallbacks type
The TransferProgress type
The Refspec type
Credentials
Revision parsing
Settings
Submodules
The Submodule type
The Index file and the Working copy
The Index type
Status
Checkout
Stash
Worktrees
pygit2
Docs
»
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
_
__cmp__() (TreeEntry method)
__contains__() (pygit2.repository.Branches method)
(Repository method)
(Tree method)
(pygit2.repository.References method)
__eq__() (pygit2.Object method)
(pygit2.Reference method)
__getitem__() (Blame method)
(Repository method)
(Tree method)
(pygit2.repository.Branches method)
(pygit2.repository.References method)
__hash__() (pygit2.Object method)
__iter__() (Blame method)
(Config method)
(Diff method)
(Tree method)
(pygit2.repository.Branches method)
(pygit2.repository.References method)
__len__() (Blame method)
(Diff method)
(Tree method)
__ne__() (pygit2.Object method)
(pygit2.Reference method)
__str__() (Oid method)
A
add() (pygit2.Index method)
add_all() (pygit2.Index method)
add_entry() (pygit2.Mailmap method)
add_fetch() (pygit2.remote.RemoteCollection method)
add_file() (pygit2.Config method)
add_push() (pygit2.remote.RemoteCollection method)
add_worktree() (pygit2.Repository method)
ahead_behind() (pygit2.Repository method)
AlreadyExistsError
annotated_id (pygit2.Note attribute)
apply() (pygit2.Repository method)
author (pygit2.Commit attribute)
B
blame() (pygit2.Repository method)
boundary (pygit2.BlameHunk attribute)
branch (pygit2.Submodule attribute)
branch_name (pygit2.Branch attribute)
Branches (class in pygit2.repository)
branches (Repository attribute)
C
cache_object_limit() (pygit2.Settings method)
cached_memory (pygit2.Settings attribute)
certificate_check() (pygit2.RemoteCallbacks method)
checkout() (pygit2.Repository method)
checkout_head() (pygit2.Repository method)
checkout_index() (pygit2.Repository method)
checkout_tree() (pygit2.Repository method)
cherrypick() (pygit2.Repository method)
clear() (pygit2.TreeBuilder method)
clone_repository() (in module pygit2)
commit_time (pygit2.Commit attribute)
commit_time_offset (pygit2.Commit attribute)
committer (pygit2.Commit attribute)
(pygit2.RefLogEntry attribute)
config (pygit2.Repository attribute)
conflicts (pygit2.Index attribute)
content (pygit2.DiffLine attribute)
content_offset (pygit2.DiffLine attribute)
create() (pygit2.remote.RemoteCollection method)
(pygit2.repository.Branches method)
(pygit2.repository.References method)
create_blob() (pygit2.Repository method)
create_blob_fromdisk() (pygit2.Repository method)
create_blob_fromiobase() (pygit2.Repository method)
create_blob_fromworkdir() (pygit2.Repository method)
create_commit() (pygit2.Repository method)
create_from() (pygit2.Patch static method)
create_note() (pygit2.Repository method)
create_reference() (pygit2.Repository method)
create_remote() (pygit2.Repository method)
create_tag() (pygit2.Repository method)
credentials() (pygit2.RemoteCallbacks method)
D
data (pygit2.Blob attribute)
default_signature (pygit2.Repository attribute)
delete() (pygit2.Branch method)
(pygit2.Reference method)
(pygit2.remote.RemoteCollection method)
(pygit2.repository.Branches method)
(pygit2.repository.References method)
deletions (pygit2.DiffStats attribute)
delta (pygit2.Patch attribute)
deltas (pygit2.Diff attribute)
descendant_of() (pygit2.Repository method)
describe() (pygit2.Repository method)
diff() (pygit2.Blob method)
(pygit2.Repository method)
diff_to_buffer() (pygit2.Blob method)
diff_to_index() (pygit2.Tree method)
diff_to_tree() (pygit2.Index method)
(pygit2.Tree method)
diff_to_workdir() (pygit2.Index method)
(pygit2.Tree method)
DiffDelta (class in pygit2)
DiffFile (class in pygit2)
DiffHunk (class in pygit2)
DiffLine (class in pygit2)
DiffStats (class in pygit2)
direction (pygit2.refspec.Refspec attribute)
discover_repository() (in module pygit2)
dst (pygit2.refspec.Refspec attribute)
dst_matches() (pygit2.refspec.Refspec method)
E
email (pygit2.Signature attribute)
F
fetch() (pygit2.Remote method)
fetch_refspecs (pygit2.Remote attribute)
filemode (pygit2.TreeEntry attribute)
files_changed (pygit2.DiffStats attribute)
final_commit_id (pygit2.BlameHunk attribute)
final_committer (pygit2.BlameHunk attribute)
final_start_line_number (pygit2.BlameHunk attribute)
find_similar() (pygit2.Diff method)
flags (pygit2.DiffDelta attribute)
(pygit2.DiffFile attribute)
for_line() (pygit2.Blame method)
force (pygit2.refspec.Refspec attribute)
format() (pygit2.DiffStats method)
free() (pygit2.Repository method)
from_buffer() (pygit2.Mailmap static method)
from_repository() (pygit2.Mailmap static method)
G
get() (pygit2.Repository method)
(pygit2.TreeBuilder method)
(pygit2.repository.Branches method)
(pygit2.repository.References method)
get_bool() (pygit2.Config method)
get_global_config() (pygit2.Config static method)
get_int() (pygit2.Config method)
get_multivar() (pygit2.Config method)
get_object() (pygit2.Tag method)
get_refspec() (pygit2.Remote method)
get_system_config() (pygit2.Config static method)
GIT_BLAME_NORMAL (built-in variable)
GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES (built-in variable)
GIT_BLAME_TRACK_COPIES_SAME_COMMIT_COPIES (built-in variable)
GIT_BLAME_TRACK_COPIES_SAME_COMMIT_MOVES (built-in variable)
GIT_BLAME_TRACK_COPIES_SAME_FILE (built-in variable)
GIT_OID_HEX_ZERO (built-in variable)
GIT_OID_HEXSZ (built-in variable)
GIT_OID_MINPREFIXLEN (built-in variable)
GIT_OID_RAWSZ (built-in variable)
GitError
gpg_signature (pygit2.Commit attribute)
H
hash() (in module pygit2)
hashfile() (in module pygit2)
head (pygit2.Repository attribute)
head_id (pygit2.Submodule attribute)
head_is_detached (pygit2.Repository attribute)
head_is_unborn (pygit2.Repository attribute)
header (pygit2.DiffHunk attribute)
hex (pygit2.IndexEntry attribute)
(pygit2.TreeEntry attribute)
hide() (pygit2.Walker method)
hunks (pygit2.Patch attribute)
I
id (pygit2.DiffFile attribute)
(pygit2.IndexEntry attribute)
(pygit2.Note attribute)
(pygit2.Object attribute)
(pygit2.TreeEntry attribute)
Index (class in pygit2)
index (pygit2.Repository attribute)
indexed_deltas (pygit2.remote.TransferProgress attribute)
indexed_objects (pygit2.remote.TransferProgress attribute)
IndexEntry (class in pygit2)
init_repository() (in module pygit2)
init_submodules() (pygit2.Repository method)
insert() (pygit2.TreeBuilder method)
insertions (pygit2.DiffStats attribute)
InvalidSpecError
is_bare (pygit2.Repository attribute)
is_binary (pygit2.Blob attribute)
(pygit2.DiffDelta attribute)
is_checked_out() (pygit2.Branch method)
is_empty (pygit2.Repository attribute)
is_head() (pygit2.Branch method)
is_prunable (pygit2.Worktree attribute)
K
Keypair (class in pygit2)
KeypairFromAgent (class in pygit2)
KeypairFromMemory (class in pygit2)
L
level (pygit2.config.ConfigEntry attribute)
LIBGIT2_VER (built-in variable)
LIBGIT2_VER_MAJOR (built-in variable)
LIBGIT2_VER_MINOR (built-in variable)
LIBGIT2_VER_REVISION (built-in variable)
LIBGIT2_VERSION (built-in variable)
line_stats (pygit2.Patch attribute)
lines (pygit2.DiffHunk attribute)
lines_in_hunk (pygit2.BlameHunk attribute)
list_worktrees() (pygit2.Repository method)
listall_submodules() (pygit2.Repository method)
local_objects (pygit2.remote.TransferProgress attribute)
log() (pygit2.Reference method)
lookup_note() (pygit2.Repository method)
lookup_submodule() (pygit2.Repository method)
lookup_worktree() (pygit2.Repository method)
M
Mailmap (class in pygit2)
merge() (pygit2.Diff method)
(pygit2.Repository method)
merge_analysis() (pygit2.Repository method)
merge_base() (pygit2.Repository method)
merge_commits() (pygit2.Repository method)
merge_trees() (pygit2.Repository method)
message (pygit2.Commit attribute)
(pygit2.Note attribute)
(pygit2.RefLogEntry attribute)
(pygit2.Tag attribute)
message_encoding (pygit2.Commit attribute)
mode (pygit2.DiffFile attribute)
(pygit2.IndexEntry attribute)
mwindow_mapped_limit (pygit2.Settings attribute)
mwindow_size (pygit2.Settings attribute)
N
name (pygit2.config.ConfigEntry attribute)
(pygit2.Reference attribute)
(pygit2.Remote attribute)
(pygit2.Signature attribute)
(pygit2.Submodule attribute)
(pygit2.Tag attribute)
(pygit2.TreeEntry attribute)
(pygit2.Worktree attribute)
new_file (pygit2.DiffDelta attribute)
new_lineno (pygit2.DiffLine attribute)
new_lines (pygit2.DiffHunk attribute)
new_start (pygit2.DiffHunk attribute)
nfiles (pygit2.DiffDelta attribute)
notes() (pygit2.Repository method)
num_lines (pygit2.DiffLine attribute)
O
objects (pygit2.repository.References attribute)
offset (pygit2.Signature attribute)
oid_new (pygit2.RefLogEntry attribute)
oid_old (pygit2.RefLogEntry attribute)
old_file (pygit2.DiffDelta attribute)
old_lineno (pygit2.DiffLine attribute)
old_lines (pygit2.DiffHunk attribute)
old_start (pygit2.DiffHunk attribute)
open() (pygit2.Submodule method)
option() (in module pygit2)
orig_commit_id (pygit2.BlameHunk attribute)
orig_committer (pygit2.BlameHunk attribute)
orig_path (pygit2.BlameHunk attribute)
orig_start_line_number (pygit2.BlameHunk attribute)
origin (pygit2.DiffLine attribute)
P
parent_ids (pygit2.Commit attribute)
parents (pygit2.Commit attribute)
parse_diff() (pygit2.Diff static method)
Patch (class in pygit2)
patch (pygit2.Diff attribute)
(pygit2.Patch attribute)
path (pygit2.DiffFile attribute)
(pygit2.IndexEntry attribute)
(pygit2.Repository attribute)
(pygit2.Submodule attribute)
(pygit2.Worktree attribute)
path_is_ignored() (pygit2.Repository method)
peel() (pygit2.Object method)
(pygit2.Reference method)
prune() (pygit2.Remote method)
(pygit2.Worktree method)
push() (pygit2.Remote method)
(pygit2.Walker method)
push_refspecs (pygit2.Remote attribute)
push_update_reference() (pygit2.RemoteCallbacks method)
push_url (pygit2.Remote attribute)
pygit2.features (built-in variable)
pygit2.Oid (C type)
pygit2.Repository (built-in class)
R
raw (pygit2.Oid attribute)
raw_content (pygit2.DiffLine attribute)
raw_email (pygit2.Signature attribute)
raw_message (pygit2.Commit attribute)
(pygit2.Tag attribute)
raw_name (pygit2.Reference attribute)
(pygit2.Signature attribute)
(pygit2.Tag attribute)
raw_path (pygit2.DiffFile attribute)
raw_shorthand (pygit2.Reference attribute)
read() (pygit2.Index method)
(pygit2.Repository method)
read_raw() (pygit2.Object method)
read_tree() (pygit2.Index method)
received_bytes (pygit2.remote.TransferProgress attribute)
received_objects (pygit2.remote.TransferProgress attribute)
Reference (class in pygit2)
reference_is_valid_name() (in module pygit2)
References (class in pygit2.repository)
references (Repository attribute)
RefLogEntry (class in pygit2)
Refspec (class in pygit2.refspec)
refspec_count (pygit2.Remote attribute)
Remote (class in pygit2)
remote_name (pygit2.Branch attribute)
RemoteCallbacks (class in pygit2)
RemoteCollection (class in pygit2.remote)
remotes (Repository attribute)
remove() (pygit2.Index method)
(pygit2.Note method)
(pygit2.TreeBuilder method)
rename() (pygit2.Branch method)
(pygit2.Reference method)
(pygit2.remote.RemoteCollection method)
reset() (pygit2.Repository method)
(pygit2.Walker method)
resolve() (pygit2.Mailmap method)
(pygit2.Reference method)
resolve_signature() (pygit2.Mailmap method)
revert_commit() (pygit2.Repository method)
revparse_single() (pygit2.Repository method)
rtransform() (pygit2.refspec.Refspec method)
S
save() (pygit2.Remote method)
search_path (pygit2.Settings attribute)
set_multivar() (pygit2.Config method)
set_push_url() (pygit2.remote.RemoteCollection method)
set_ssl_cert_locations() (pygit2.Settings method)
set_target() (pygit2.Reference method)
set_url() (pygit2.remote.RemoteCollection method)
Settings (class in pygit2)
short_id (pygit2.Object attribute)
shorthand (pygit2.Reference attribute)
sideband_progress() (pygit2.RemoteCallbacks method)
similarity (pygit2.DiffDelta attribute)
simplify_first_parent() (pygit2.Walker method)
size (pygit2.Blob attribute)
(pygit2.DiffFile attribute)
sort() (pygit2.Walker method)
src (pygit2.refspec.Refspec attribute)
src_matches() (pygit2.refspec.Refspec method)
ssl_cert_dir (pygit2.Settings attribute)
ssl_cert_file (pygit2.Settings attribute)
stash() (pygit2.Repository method)
stash_apply() (pygit2.Repository method)
stash_drop() (pygit2.Repository method)
stash_pop() (pygit2.Repository method)
state_cleanup() (pygit2.Repository method)
stats (pygit2.Diff attribute)
status (pygit2.DiffDelta attribute)
status() (pygit2.Repository method)
status_char() (pygit2.DiffDelta method)
status_file() (pygit2.Repository method)
string (pygit2.refspec.Refspec attribute)
T
tagger (pygit2.Tag attribute)
target (pygit2.Reference attribute)
(pygit2.Tag attribute)
time (pygit2.Signature attribute)
total_deltas (pygit2.remote.TransferProgress attribute)
total_objects (pygit2.remote.TransferProgress attribute)
transfer_progress() (pygit2.RemoteCallbacks method)
TransferProgress (class in pygit2.remote)
transform() (pygit2.refspec.Refspec method)
tree (pygit2.Commit attribute)
tree_id (pygit2.Commit attribute)
TreeBuilder() (pygit2.Repository method)
type (pygit2.Object attribute)
(pygit2.Reference attribute)
(pygit2.TreeEntry attribute)
U
update_submodules() (pygit2.Repository method)
update_tips() (pygit2.RemoteCallbacks method)
upstream (pygit2.Branch attribute)
upstream_name (pygit2.Branch attribute)
url (pygit2.Remote attribute)
(pygit2.Submodule attribute)
Username (class in pygit2)
UserPass (class in pygit2)
V
value (pygit2.config.ConfigEntry attribute)
W
walk() (pygit2.Repository method)
with_commit() (pygit2.repository.Branches method)
workdir (pygit2.Repository attribute)
Worktree (class in pygit2)
write() (pygit2.Index method)
(pygit2.Repository method)
(pygit2.TreeBuilder method)
write_archive() (pygit2.Repository method)
write_tree() (pygit2.Index method)