Skip to contents

Create, open or export local repositories.

git_init() git_find() git_info()
Create or discover a local Git repository
git_open()
Open local repository
git_archive_zip()
Git Archive

Local operations

Functions that work with local repositories.

Remotes and Merging

Functions that work with remote repositories

Configuration

See or change configuration.

git_config() git_config_global() git_config_set() git_config_global_set()
Get or set Git configuration
git_signature_default() git_signature() git_signature_parse()
Author Signature
libgit2_config()
Show libgit2 version and capabilities
user_is_configured()
Test if a Git user is configured