pygit2
Installation
Requirements
Quick install
Build options
libgit2 within a virtual environment
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
References
The Reference type
The HEAD
Branches
The Branch type
The reference log
Notes
Revision parsing
Commit log
The Index file and the Working copy
The Index type
Status
Checkout
Stash
Diff
The Diff type
The Patch type
The DiffDelta type
The DiffFile type
The DiffHunk type
The DiffStats type
The DiffLine type
Merge & Cherrypick
The merge method
Cherrypick
Lower-level methods
Configuration files
The Config type
The ConfigEntry type
Remotes
The remote collection
The Remote type
The RemoteCallbacks type
The TransferProgress type
The Refspec type
Credentials
Submodules
The Submodule type
Blame
The Blame type
The BlameHunk type
Constants
Settings
Feature detection
Custom backends
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)
__getitem__() (Blame method)
(Repository method)
(Tree method)
(pygit2.repository.Branches method)
(pygit2.repository.References 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)
__str__() (Oid method)
A
add() (pygit2.Index method)
add_all() (pygit2.Index method)
add_fetch() (pygit2.remote.RemoteCollection method)
add_file() (pygit2.Config method)
add_push() (pygit2.remote.RemoteCollection method)
ahead_behind() (pygit2.Repository method)
annotated_id (pygit2.Note attribute)
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)
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)
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)
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.Reference method)
(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_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)
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)
K
Keypair (class in pygit2)
KeypairFromAgent (class in pygit2)
KeypairFromMemory (class in pygit2)
L
level (pygit2.config.ConfigEntry attribute)
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)
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)
M
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)
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)
path_is_ignored() (pygit2.Repository method)
peel() (pygit2.Object method)
(pygit2.Reference 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_email (pygit2.Signature attribute)
raw_message (pygit2.Commit attribute)
raw_name (pygit2.Signature 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)
References (class in pygit2.repository)
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.Reference 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_target() (pygit2.Reference method)
set_url() (pygit2.remote.RemoteCollection method)
Settings (class in pygit2)
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)
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)
workdir (pygit2.Repository attribute)
write() (pygit2.Index method)
(pygit2.Repository method)
(pygit2.TreeBuilder method)
write_archive() (pygit2.Repository method)
write_tree() (pygit2.Index method)