1. Home
  2. ›
  3. Browse
  4. ›
  5. libgit2

libgit2

v1.6.4#1Go to latest

A cross-platform, linkable library implementation of Git that you can use in your application.

Install

Run the following Vcpkg command to install the port.

vcpkg install libgit2

Usage

libgit2 can be imported via CMake FindPkgConfig module:

find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBGIT2 REQUIRED IMPORTED_TARGET libgit2)
target_link_libraries(main PRIVATE PkgConfig::LIBGIT2)

vcpkg provides proprietary CMake targets:

find_package(unofficial-libgit2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::libgit2::libgit2)

Features

Dependencies

See source

Version

v1.6.4#1

Publication

Supports

!uwp

GitHub

libgit2/libgit211K

Homepage

github.com/libgit2/libgit2

Subtree

505cba2668

License

Complex license

Definition

Manifest