Downloads
Reference
Learning
Security
Source
API Documentation
repository
git_repository
Version:
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0
v0.28.5
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.28.0-rc1
v0.27.10
v0.27.9
v0.27.8
v0.27.7
v0.27.6
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27.0
v0.27.0-rc3
v0.27.0-rc2
v0.27.0-rc1
v0.26.8
v0.26.7
v0.26.6
v0.26.5
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.26.0-rc2
v0.26.0-rc1
v0.25.1
v0.25.0
v0.25.0-rc2
v0.25.0-rc1
v0.24.6
v0.24.5
v0.24.4
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.24.0-rc1
v0.23.4
v0.23.3
v0.23.2
v0.23.1
v0.23.0
v0.23.0-rc2
v0.23.0-rc1
v0.22.3
v0.22.2
v0.22.1
v0.22.0
v0.22.0-rc2
v0.22.0-rc1
v0.21.5
v0.21.4
v0.21.3
v0.21.2
v0.21.1
v0.21.0
v0.21.0-rc2
v0.21.0-rc1
v0.20.0
v0.19.0
v0.18.0
v0.17.0
v0.16.0
v0.15.0
v0.14.0
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.8.0
v0.1.0
Representation of an existing git repository, including all its object contents
Signature
GitHub
typedef struct git_repository git_repository
Returned By
git_blob_owner
git_commit_owner
git_index_owner
git_object_owner
git_reference_owner
git_remote_owner
git_revwalk_repository
git_submodule_owner
git_tag_owner
git_tree_owner
git_filter_source_repo
git_merge_driver_source_repo
Parameter To
git_annotated_commit_from_ref
git_annotated_commit_from_fetchhead
git_annotated_commit_lookup
git_annotated_commit_from_revspec
git_attr_get
git_attr_get_many
git_attr_foreach
git_attr_cache_flush
git_attr_add_macro
git_blame_file
git_blob_lookup
git_blob_lookup_prefix
git_blob_create_fromworkdir
git_blob_create_fromdisk
git_blob_create_fromstream
git_blob_create_frombuffer
git_branch_create
git_branch_create_from_annotated
git_branch_iterator_new
git_branch_lookup
git_branch_upstream_name
git_branch_remote_name
git_branch_upstream_remote
git_checkout_head
git_checkout_index
git_checkout_tree
git_cherrypick_commit
git_cherrypick
git_remote_create_cb
git_repository_create_cb
git_clone
git_commit_lookup
git_commit_lookup_prefix
git_commit_extract_signature
git_commit_create
git_commit_create_v
git_commit_create_buffer
git_commit_create_with_signature
git_config_add_file_ondisk
git_describe_workdir
git_diff_tree_to_tree
git_diff_tree_to_index
git_diff_index_to_workdir
git_diff_tree_to_workdir
git_diff_tree_to_workdir_with_index
git_diff_index_to_index
git_diff_commit_as_email
git_filter_list_load
git_filter_list_apply_to_file
git_filter_list_stream_file
git_graph_ahead_behind
git_graph_descendant_of
git_ignore_add_rule
git_ignore_clear_internal_rules
git_ignore_path_is_ignored
git_index_write_tree_to
git_merge_analysis
git_merge_base
git_merge_bases
git_merge_base_many
git_merge_bases_many
git_merge_base_octopus
git_merge_file_from_index
git_merge_trees
git_merge_commits
git_merge
git_note_iterator_new
git_note_read
git_note_commit_read
git_note_create
git_note_commit_create
git_note_remove
git_note_commit_remove
git_note_default_ref
git_note_foreach
git_object_lookup
git_object_lookup_prefix
git_packbuilder_new
git_pathspec_match_workdir
git_rebase_init
git_rebase_open
git_refdb_new
git_refdb_open
git_reflog_read
git_reflog_rename
git_reflog_delete
git_reference_lookup
git_reference_name_to_id
git_reference_dwim
git_reference_symbolic_create_matching
git_reference_symbolic_create
git_reference_create
git_reference_create_matching
git_reference_remove
git_reference_list
git_reference_foreach
git_reference_foreach_name
git_reference_iterator_new
git_reference_iterator_glob_new
git_reference_foreach_glob
git_reference_has_log
git_reference_ensure_log
git_remote_create
git_remote_create_with_fetchspec
git_remote_create_anonymous
git_remote_lookup
git_remote_set_url
git_remote_set_pushurl
git_remote_add_fetch
git_remote_add_push
git_remote_list
git_remote_set_autotag
git_remote_rename
git_remote_delete
git_repository_open
git_repository_open_from_worktree
git_repository_wrap_odb
git_repository_open_ext
git_repository_open_bare
git_repository_free
git_repository_init
git_repository_init_ext
git_repository_head
git_repository_head_for_worktree
git_repository_head_detached
git_repository_head_detached_for_worktree
git_repository_head_unborn
git_repository_is_empty
git_repository_item_path
git_repository_path
git_repository_workdir
git_repository_commondir
git_repository_set_workdir
git_repository_is_bare
git_repository_is_worktree
git_repository_config
git_repository_config_snapshot
git_repository_odb
git_repository_refdb
git_repository_index
git_repository_message
git_repository_message_remove
git_repository_state_cleanup
git_repository_fetchhead_foreach
git_repository_mergehead_foreach
git_repository_hashfile
git_repository_set_head
git_repository_set_head_detached
git_repository_set_head_detached_from_annotated
git_repository_detach_head
git_repository_state
git_repository_set_namespace
git_repository_get_namespace
git_repository_is_shallow
git_repository_ident
git_repository_set_ident
git_reset
git_reset_from_annotated
git_reset_default
git_revert_commit
git_revert
git_revparse_single
git_revparse_ext
git_revparse
git_revwalk_new
git_signature_default
git_stash_save
git_stash_apply
git_stash_foreach
git_stash_drop
git_stash_pop
git_status_foreach
git_status_foreach_ext
git_status_file
git_status_list_new
git_status_should_ignore
git_submodule_lookup
git_submodule_foreach
git_submodule_add_setup
git_submodule_resolve_url
git_submodule_set_branch
git_submodule_set_url
git_submodule_set_ignore
git_submodule_set_update
git_submodule_set_fetch_recurse_submodules
git_submodule_repo_init
git_submodule_open
git_submodule_status
git_tag_lookup
git_tag_lookup_prefix
git_tag_create
git_tag_annotation_create
git_tag_create_frombuffer
git_tag_create_lightweight
git_tag_delete
git_tag_list
git_tag_list_match
git_tag_foreach
git_transaction_new
git_tree_lookup
git_tree_lookup_prefix
git_tree_entry_to_object
git_treebuilder_new
git_tree_create_updated
git_worktree_list
git_worktree_lookup
git_worktree_open_from_repository
git_worktree_add
git_commit_create_from_ids
git_commit_create_from_callback
git_config_add_backend
git_filter_list_new
git_mempack_dump
git_refdb_backend_fs
git_repository_new
git_repository__cleanup
git_repository_reinit_filesystem
git_repository_set_config
git_repository_set_odb
git_repository_set_refdb
git_repository_set_index
git_repository_set_bare
git_repository_submodule_cache_all
git_repository_submodule_cache_clear
Versions
main
v1.8.4
v1.8.3
v1.8.2
v1.8.2-rc1
v1.8.1
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v0.99.0
v0.28.5
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.28.0-rc1
v0.27.10
v0.27.9
v0.27.8
v0.27.7
v0.27.6
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27.0
v0.27.0-rc3
v0.27.0-rc2
v0.27.0-rc1
v0.26.8
v0.26.7
v0.26.6
v0.26.5
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.26.0-rc2
v0.26.0-rc1
v0.25.1
v0.25.0
v0.25.0-rc2
v0.25.0-rc1
v0.24.6
v0.24.5
v0.24.4
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.24.0-rc1
v0.23.4
v0.23.3
v0.23.2
v0.23.1
v0.23.0
v0.23.0-rc2
v0.23.0-rc1
v0.22.3
v0.22.2
v0.22.1
v0.22.0
v0.22.0-rc2
v0.22.0-rc1
v0.21.5
v0.21.4
v0.21.3
v0.21.2
v0.21.1
v0.21.0
v0.21.0-rc2
v0.21.0-rc1
v0.20.0
v0.19.0
v0.18.0
v0.17.0
v0.16.0
v0.15.0
v0.14.0
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.8.0
v0.1.0